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.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001233/0.001233, allocations: 183.8 kB / 0.4901 GB, free: 2.219 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.849/1.849, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.00107/0.001071, allocations: 96.31 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000417/0.0004169, allocations: 13.53 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3974, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2709/0.6684, allocations: 154.8 MB / 1.38 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.6688, allocations: 87.94 kB / 1.381 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02214/0.691, allocations: 7.419 MB / 1.388 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.19e-06/0.6911, allocations: 0 / 1.388 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.646e-05/0.6912, allocations: 15.98 kB / 1.388 GB, free: 2.855 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.002029/0.6932, allocations: 0.7214 MB / 1.388 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/0.6933, allocations: 8.031 kB / 1.388 GB, free: 2.07 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.6935, allocations: 82.52 kB / 1.389 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.6938, allocations: 55.34 kB / 1.389 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6949, allocations: 387.1 kB / 1.389 GB, free: 1.508 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.695, allocations: 40.94 kB / 1.389 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6951, allocations: 44 kB / 1.389 GB, free: 1.422 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009967/0.6961, allocations: 430.2 kB / 1.389 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6961, allocations: 0 / 1.389 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.6962, allocations: 19.98 kB / 1.389 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6962, allocations: 16 kB / 1.39 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.6969, allocations: 323.8 kB / 1.39 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.6999, allocations: 1.363 MB / 1.391 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008345/0.7007, allocations: 300.5 kB / 1.391 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.7008, allocations: 8.297 kB / 1.391 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005573/0.7014, allocations: 223.4 kB / 1.392 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 3.747e-06/0.7014, allocations: 0 / 1.392 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.001082/0.7025, allocations: 398 kB / 1.392 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.7027, allocations: 166.2 kB / 1.392 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.7032, allocations: 356.8 kB / 1.393 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/0.7033, allocations: 41.53 kB / 1.393 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.7035, allocations: 216.3 kB / 1.393 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.7036, allocations: 98.61 kB / 1.393 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.7037, allocations: 4 kB / 1.393 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.7039, allocations: 350.8 kB / 1.393 GB, free: 13 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.7042, allocations: 127.9 kB / 1.393 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.7046, allocations: 191.1 kB / 1.394 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.7049, allocations: 173.9 kB / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.705, allocations: 0 / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008836/0.7058, allocations: 428.1 kB / 1.394 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002027/0.7061, allocations: 301.2 kB / 1.394 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.7061, allocations: 0 / 1.394 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.7061, allocations: 4 kB / 1.394 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.7064, allocations: 63.91 kB / 1.394 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.7064, allocations: 4 kB / 1.394 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004228/0.7068, allocations: 87.48 kB / 1.395 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.7069, allocations: 19.98 kB / 1.395 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.7069, allocations: 0 / 1.395 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006339/0.7076, allocations: 350.7 kB / 1.395 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7076, allocations: 7.953 kB / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.7076, allocations: 0 / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.7078, allocations: 55.91 kB / 1.395 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.7078, allocations: 4.062 kB / 1.395 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.7082, allocations: 75.64 kB / 1.395 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.7083, allocations: 15.98 kB / 1.395 GB, free: 11.05 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.0002834/0.7085, allocations: 245.9 kB / 1.395 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.7086, allocations: 39.53 kB / 1.395 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.7093, allocations: 358 kB / 1.396 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.7093, allocations: 8 kB / 1.396 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7093, allocations: 0 / 1.396 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.7094, allocations: 7.922 kB / 1.396 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.7106, allocations: 0.8715 MB / 1.397 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7106, allocations: 0 / 1.397 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.7109, allocations: 55.91 kB / 1.397 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.7109, allocations: 0 / 1.397 GB, free: 9.402 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.711, allocations: 11.94 kB / 1.397 GB, free: 9.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.711, allocations: 12.05 kB / 1.397 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.711, allocations: 0 / 1.397 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.712, allocations: 0.612 MB / 1.397 GB, free: 8.723 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.7121, allocations: 124.6 kB / 1.397 GB, free: 8.582 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.7121, allocations: 8 kB / 1.397 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.7124, allocations: 27.97 kB / 1.397 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/0.7125, allocations: 27.98 kB / 1.397 GB, free: 8.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.7125, allocations: 12 kB / 1.397 GB, free: 8.508 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003345/0.7128, allocations: 279.2 kB / 1.398 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7128, allocations: 0 / 1.398 GB, free: 8.234 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005935/0.7134, allocations: 159.7 kB / 1.398 GB, free: 8.078 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.00144/0.7149, allocations: 1.379 MB / 1.399 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.716, allocations: 0.5928 MB / 1.4 GB, free: 6.035 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.716, allocations: 0 / 1.4 GB, free: 6.035 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/0.7163, allocations: 149.1 kB / 1.4 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.7167, allocations: 57.84 kB / 1.4 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.7188, allocations: 1.462 MB / 1.401 GB, free: 4.297 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.7192, allocations: 0.8163 MB / 1.402 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002167/0.7194, allocations: 43.25 kB / 1.402 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.7196, allocations: 151.4 kB / 1.402 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of SimCode: time 5.81e-07/0.7196, allocations: 0 / 1.402 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6922/1.412, allocations: 8.058 MB / 1.41 GB, free: 169 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/1.412, allocations: 215.8 kB / 1.41 GB, free: 168.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/4.191, allocations: 0 / 1.41 GB, free: 168.8 MB / 0.9011 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