Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.229/2.229, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008984, allocations: 83.97 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.237e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2628, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8999/1.163, allocations: 150.1 MB / 1.365 GB, free: 3.902 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.163, allocations: 66.78 kB / 1.366 GB, free: 3.867 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005585/1.169, allocations: 1.787 MB / 1.367 GB, free: 2.316 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.706e-06/1.169, allocations: 3.938 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.392e-05/1.169, allocations: 0 / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004605/1.169, allocations: 362.6 kB / 1.368 GB, free: 1.914 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/1.169, allocations: 12.03 kB / 1.368 GB, free: 1.902 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/1.169, allocations: 34.55 kB / 1.368 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/1.169, allocations: 4.781 kB / 1.368 GB, free: 1.855 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.17, allocations: 170.9 kB / 1.368 GB, free: 1.648 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.17, allocations: 4 kB / 1.368 GB, free: 1.645 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.17, allocations: 7.625 kB / 1.368 GB, free: 1.641 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/1.17, allocations: 33.69 kB / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.17, allocations: 0 / 1.368 GB, free: 1.602 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/1.17, allocations: 4 kB / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/1.17, allocations: 0 / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/1.17, allocations: 11.25 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/1.17, allocations: 286.3 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.296e-05/1.17, allocations: 21.95 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/1.17, allocations: 4.859 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/1.17, allocations: 4.062 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/1.171, allocations: 59.52 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.171, allocations: 4 kB / 1.368 GB, free: 1.168 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001799/1.171, allocations: 56.17 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.171, allocations: 55.36 kB / 1.368 GB, free: 1.047 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.852e-05/1.171, allocations: 97.94 kB / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/1.171, allocations: 33.69 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.381e-05/1.171, allocations: 91.66 kB / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/1.171, allocations: 4 kB / 1.369 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/1.171, allocations: 0 / 1.369 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.171, allocations: 314.2 kB / 1.369 GB, free: 0.5039 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/1.171, allocations: 39.17 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/1.171, allocations: 48.25 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/1.171, allocations: 53.25 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.171, allocations: 0 / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000237/1.172, allocations: 140.3 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/1.172, allocations: 45.19 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.172, allocations: 4.094 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.172, allocations: 4 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.518e-05/1.172, allocations: 0 / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.172, allocations: 3.938 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/1.172, allocations: 39.92 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/1.172, allocations: 7.984 kB / 1.369 GB, free: 144 kB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.298e-05/1.172, allocations: 112.4 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/1.172, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/1.172, allocations: 8.031 kB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.172, allocations: 0 / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.172, allocations: 0 / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/1.172, allocations: 3.938 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/1.172, allocations: 164.7 kB / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.172, allocations: 0 / 1.37 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/1.172, allocations: 4 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1.172, allocations: 4 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.172, allocations: 320 / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.172, allocations: 4 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.172, allocations: 0 / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/1.173, allocations: 83.61 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/1.173, allocations: 81.09 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/1.173, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/1.173, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/1.173, allocations: 8 kB / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/1.173, allocations: 0 / 1.37 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.074e-05/1.173, allocations: 90.7 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.173, allocations: 0 / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002039/1.173, allocations: 20 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004418/1.173, allocations: 0.6301 MB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002014/1.174, allocations: 122.6 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.174, allocations: 0 / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/1.174, allocations: 15.88 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/1.174, allocations: 4 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/1.174, allocations: 105.4 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/1.174, allocations: 0.6772 MB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.876e-05/1.174, allocations: 8.234 kB / 1.371 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/1.174, allocations: 15.42 kB / 1.371 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.174, allocations: 0 / 1.371 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/1.187, allocations: 1.691 MB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.187, allocations: 160.8 kB / 1.373 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.754, allocations: 0 / 1.373 GB, free: 12.08 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat does not exist to compare? outputFormat=mat