Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 3.059/3.059, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001179/0.001179, allocations: 185 kB / 498.1 MB, free: 5.738 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.59/1.59, allocations: 223.2 MB / 0.7948 GB, free: 18.89 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.001218/0.001218, allocations: 100.2 kB / 0.9346 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 9.438 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3093, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5026, allocations: 154 MB / 1.373 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5029, allocations: 87.94 kB / 1.373 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.5229, allocations: 7.419 MB / 1.381 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/0.523, allocations: 0 / 1.381 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.668e-05/0.523, allocations: 12 kB / 1.381 GB, free: 7.777 MB / 0.8855 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.001367/0.5244, allocations: 0.7129 MB / 1.381 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5245, allocations: 12.03 kB / 1.381 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5246, allocations: 86.5 kB / 1.381 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.5248, allocations: 55.34 kB / 1.381 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.5255, allocations: 387 kB / 1.382 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.5256, allocations: 41 kB / 1.382 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.5257, allocations: 44 kB / 1.382 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007999/0.5265, allocations: 430.2 kB / 1.382 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5265, allocations: 0 / 1.382 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/0.5266, allocations: 16 kB / 1.382 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.5266, allocations: 8 kB / 1.382 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.5273, allocations: 331.8 kB / 1.383 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.5295, allocations: 1.363 MB / 1.384 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.5301, allocations: 299.6 kB / 1.384 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.5302, allocations: 4.234 kB / 1.384 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.5307, allocations: 231.8 kB / 1.385 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.5307, allocations: 0 / 1.385 GB, free: 3.586 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0008575/0.5315, allocations: 389 kB / 1.385 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5316, allocations: 162.2 kB / 1.385 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005383/0.5322, allocations: 360.8 kB / 1.385 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.5323, allocations: 37.7 kB / 1.385 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.5325, allocations: 216.4 kB / 1.386 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-05/0.5326, allocations: 98.61 kB / 1.386 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.5326, allocations: 4 kB / 1.386 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5328, allocations: 346.8 kB / 1.386 GB, free: 1.938 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.5331, allocations: 131.9 kB / 1.386 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/0.5335, allocations: 199 kB / 1.386 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.5338, allocations: 169.8 kB / 1.387 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5339, allocations: 0 / 1.387 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008687/0.5347, allocations: 428.2 kB / 1.387 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.535, allocations: 305.3 kB / 1.387 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.535, allocations: 0 / 1.387 GB, free: 0.6602 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.535, allocations: 4 kB / 1.387 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.5353, allocations: 59.91 kB / 1.387 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5353, allocations: 4 kB / 1.387 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.5358, allocations: 87.48 kB / 1.387 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.5358, allocations: 19.98 kB / 1.387 GB, free: 500 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5358, allocations: 5.25 kB / 1.387 GB, free: 496 kB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006872/0.5365, allocations: 346.8 kB / 1.388 GB, free: 144 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.5366, allocations: 7.953 kB / 1.388 GB, free: 136 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.5366, allocations: 0 / 1.388 GB, free: 136 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.5368, allocations: 55.91 kB / 1.388 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.5368, allocations: 0 / 1.388 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.5373, allocations: 83.66 kB / 1.388 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.5374, allocations: 19.92 kB / 1.388 GB, free: 15.98 MB / 0.9011 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 () * Number of clocked 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.0003499/0.5377, allocations: 245.1 kB / 1.388 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.5378, allocations: 39.53 kB / 1.388 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007399/0.5386, allocations: 350.1 kB / 1.389 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.5386, allocations: 4 kB / 1.389 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.5386, allocations: 7.984 kB / 1.389 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5386, allocations: 0 / 1.389 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.5401, allocations: 0.8833 MB / 1.389 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5401, allocations: 0 / 1.389 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.5404, allocations: 55.91 kB / 1.389 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5404, allocations: 0 / 1.389 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.5405, allocations: 8 kB / 1.389 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.5405, allocations: 7.938 kB / 1.389 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5405, allocations: 3.984 kB / 1.389 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.5415, allocations: 0.6016 MB / 1.39 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.5416, allocations: 124.6 kB / 1.39 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.5417, allocations: 8 kB / 1.39 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.5419, allocations: 27.97 kB / 1.39 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.542, allocations: 27.81 kB / 1.39 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.5421, allocations: 20.05 kB / 1.39 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003608/0.5424, allocations: 283.1 kB / 1.391 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5424, allocations: 0 / 1.391 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006405/0.5431, allocations: 155.7 kB / 1.391 GB, free: 13.01 MB / 0.9011 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 () * Number of clocked 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.001636/0.5447, allocations: 1.383 MB / 1.392 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.5459, allocations: 0.5921 MB / 1.393 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.5459, allocations: 4.312 kB / 1.393 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.5462, allocations: 151.8 kB / 1.393 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.5467, allocations: 57.7 kB / 1.393 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.5488, allocations: 1.454 MB / 1.394 GB, free: 9.227 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.5493, allocations: 0.8163 MB / 1.395 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002111/0.5495, allocations: 43.25 kB / 1.395 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.5497, allocations: 151.4 kB / 1.395 GB, free: 8.195 MB / 0.9011 GB Notification: Performance of SimCode: time 2.81e-07/0.5498, allocations: 4 kB / 1.395 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.5745, allocations: 8.042 MB / 1.403 GB, free: 388 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.5748, allocations: 214 kB / 1.403 GB, free: 140 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.244/2.819, allocations: 4.062 kB / 1.403 GB, free: 136 kB / 0.9011 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat does not exist to compare? outputFormat=mat