Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",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.562/2.562, allocations: 390.5 MB / 398 MB, free: 10.96 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.00129/0.00129, allocations: 184.3 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0008882/0.0008879, allocations: 99.72 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.18e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.514, allocations: 154 MB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.514, allocations: 89.98 kB / 1.363 GB, free: 17.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01911/1.533, allocations: 7.348 MB / 1.37 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.294e-06/1.533, allocations: 0 / 1.37 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.46e-05/1.533, allocations: 11.69 kB / 1.37 GB, free: 32.52 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009683/1.534, allocations: 0.6624 MB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.534, allocations: 7.719 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/1.534, allocations: 58.38 kB / 1.371 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/1.535, allocations: 385.1 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/1.535, allocations: 19.48 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/1.535, allocations: 30.16 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004505/1.536, allocations: 265 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/1.536, allocations: 354.4 kB / 1.372 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.536, allocations: 4 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/1.536, allocations: 4 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/1.536, allocations: 11.41 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/1.538, allocations: 1.26 MB / 1.373 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/1.538, allocations: 253.4 kB / 1.373 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.538, allocations: 121.3 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/1.538, allocations: 4.016 kB / 1.373 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/1.539, allocations: 198.7 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/1.539, allocations: 0 / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004187/1.539, allocations: 247.9 kB / 1.374 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/1.539, allocations: 158.1 kB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/1.54, allocations: 238.9 kB / 1.374 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/1.54, allocations: 29.55 kB / 1.374 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/1.54, allocations: 229.9 kB / 1.374 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/1.54, allocations: 89.75 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/1.54, allocations: 3.844 kB / 1.375 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.54, allocations: 340.1 kB / 1.375 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/1.54, allocations: 105.7 kB / 1.375 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/1.54, allocations: 169.2 kB / 1.375 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/1.541, allocations: 132.7 kB / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.541, allocations: 0 / 1.375 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005382/1.541, allocations: 338 kB / 1.376 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/1.541, allocations: 306.6 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.541, allocations: 0 / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.541, allocations: 3.875 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/1.542, allocations: 59.3 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/1.542, allocations: 7.906 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/1.542, allocations: 70.09 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/1.542, allocations: 18.14 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/1.542, allocations: 3.75 kB / 1.376 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004879/1.543, allocations: 280.4 kB / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/1.543, allocations: 0 / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/1.543, allocations: 3.844 kB / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.543, allocations: 56.41 kB / 1.376 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/1.543, allocations: 3.938 kB / 1.376 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/1.543, allocations: 66.22 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/1.543, allocations: 14.64 kB / 1.376 GB, free: 29.71 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 0.0001165/1.543, allocations: 112.1 kB / 1.377 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000322/1.544, allocations: 241 kB / 1.377 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/1.544, allocations: 34.08 kB / 1.377 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000444/1.544, allocations: 288.7 kB / 1.377 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.544, allocations: 3.688 kB / 1.377 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.544, allocations: 0 / 1.377 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/1.544, allocations: 3.188 kB / 1.377 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/1.545, allocations: 0.7404 MB / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.545, allocations: 0 / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/1.545, allocations: 60.31 kB / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.545, allocations: 3.844 kB / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/1.545, allocations: 7.359 kB / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.545, allocations: 0 / 1.378 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.545, allocations: 7.844 kB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/1.546, allocations: 0.5178 MB / 1.378 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/1.546, allocations: 117.6 kB / 1.379 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/1.546, allocations: 0 / 1.379 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/1.546, allocations: 24.36 kB / 1.379 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/1.546, allocations: 19.66 kB / 1.379 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/1.546, allocations: 17.81 kB / 1.379 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001668/1.546, allocations: 185.1 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.546, allocations: 3.938 kB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005268/1.547, allocations: 154.7 kB / 1.379 GB, free: 28.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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.0009616/1.548, allocations: 1.292 MB / 1.38 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006547/1.548, allocations: 0.5344 MB / 1.381 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.548, allocations: 4.062 kB / 1.381 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/1.549, allocations: 120.7 kB / 1.381 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/1.549, allocations: 50.98 kB / 1.381 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/1.55, allocations: 0.5446 MB / 1.381 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/1.551, allocations: 0.8188 MB / 1.382 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002366/1.551, allocations: 52.2 kB / 1.382 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/1.551, allocations: 135.8 kB / 1.382 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.551, allocations: 0 / 1.382 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/1.581, allocations: 6.959 MB / 1.389 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.581, allocations: 180.1 kB / 1.389 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.867, allocations: 1.547 kB / 1.389 GB, free: 24.19 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat does not exist to compare? outputFormat=mat