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.405/2.405, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001598/0.001599, allocations: 184.9 kB / 496.1 MB, free: 12.87 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.67/1.67, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.00105/0.00105, allocations: 88 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.847e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3468, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.488, allocations: 154.7 MB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.488, allocations: 91.81 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01993/1.508, allocations: 7.394 MB / 1.377 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.508, allocations: 0 / 1.377 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.883e-05/1.508, allocations: 16 kB / 1.377 GB, free: 8.996 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.0009892/1.509, allocations: 0.6541 MB / 1.378 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.509, allocations: 8.031 kB / 1.378 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/1.509, allocations: 93.08 kB / 1.378 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/1.509, allocations: 51.34 kB / 1.378 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/1.51, allocations: 382.3 kB / 1.378 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/1.51, allocations: 31.31 kB / 1.378 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/1.51, allocations: 46.11 kB / 1.379 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/1.511, allocations: 415.3 kB / 1.379 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.511, allocations: 8 kB / 1.379 GB, free: 7.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/1.511, allocations: 17.88 kB / 1.379 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/1.511, allocations: 12 kB / 1.379 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/1.511, allocations: 284.4 kB / 1.379 GB, free: 7.305 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/1.513, allocations: 1.366 MB / 1.381 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/1.514, allocations: 261.7 kB / 1.381 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/1.514, allocations: 131.1 kB / 1.381 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/1.514, allocations: 8.297 kB / 1.381 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/1.514, allocations: 218.1 kB / 1.381 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/1.514, allocations: 0 / 1.381 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004831/1.515, allocations: 264.9 kB / 1.381 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.467e-05/1.515, allocations: 158.2 kB / 1.382 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003826/1.515, allocations: 347.2 kB / 1.382 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/1.515, allocations: 37.58 kB / 1.382 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.516, allocations: 225.4 kB / 1.382 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/1.516, allocations: 93.33 kB / 1.382 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/1.516, allocations: 11.12 kB / 1.382 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.516, allocations: 346.3 kB / 1.383 GB, free: 4.504 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/1.516, allocations: 108.3 kB / 1.383 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/1.516, allocations: 177.8 kB / 1.383 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/1.517, allocations: 151.3 kB / 1.383 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/1.517, allocations: 0 / 1.383 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006118/1.517, allocations: 388.2 kB / 1.383 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/1.517, allocations: 308 kB / 1.384 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.517, allocations: 0 / 1.384 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.517, allocations: 7.938 kB / 1.384 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/1.518, allocations: 54.97 kB / 1.384 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/1.518, allocations: 7.922 kB / 1.384 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/1.518, allocations: 94.23 kB / 1.384 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/1.518, allocations: 15.92 kB / 1.384 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.518, allocations: 5.406 kB / 1.384 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005374/1.519, allocations: 344 kB / 1.384 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/1.519, allocations: 0 / 1.384 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/1.519, allocations: 3.984 kB / 1.384 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/1.519, allocations: 59.84 kB / 1.384 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/1.519, allocations: 4 kB / 1.384 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/1.519, allocations: 82.05 kB / 1.384 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/1.519, allocations: 19.3 kB / 1.384 GB, free: 3 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.0001258/1.519, allocations: 122.4 kB / 1.384 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/1.52, allocations: 35.53 kB / 1.384 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/1.52, allocations: 324.9 kB / 1.385 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/1.52, allocations: 0 / 1.385 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.52, allocations: 4 kB / 1.385 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.52, allocations: 0 / 1.385 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/1.521, allocations: 0.8453 MB / 1.386 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.521, allocations: 0 / 1.386 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/1.521, allocations: 62.75 kB / 1.386 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.521, allocations: 0 / 1.386 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/1.521, allocations: 11.42 kB / 1.386 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/1.521, allocations: 4 kB / 1.386 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.521, allocations: 0 / 1.386 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007157/1.522, allocations: 0.5568 MB / 1.386 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/1.522, allocations: 131.1 kB / 1.386 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/1.522, allocations: 7.312 kB / 1.386 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/1.523, allocations: 23.73 kB / 1.386 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.523, allocations: 26.86 kB / 1.386 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/1.523, allocations: 15.17 kB / 1.386 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002753/1.523, allocations: 270 kB / 1.387 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.523, allocations: 0 / 1.387 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004835/1.523, allocations: 164.6 kB / 1.387 GB, free: 0.8281 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.001174/1.525, allocations: 1.328 MB / 1.388 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008196/1.525, allocations: 0.5657 MB / 1.389 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.525, allocations: 0 / 1.389 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/1.526, allocations: 131.1 kB / 1.389 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/1.526, allocations: 58.5 kB / 1.389 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/1.527, allocations: 0.5803 MB / 1.389 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/1.528, allocations: 0.8127 MB / 1.39 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002462/1.528, allocations: 65.22 kB / 1.39 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/1.528, allocations: 141.8 kB / 1.39 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of SimCode: time 3.1e-07/1.528, allocations: 4 kB / 1.39 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/1.551, allocations: 8.623 MB / 1.399 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/1.551, allocations: 192.2 kB / 1.399 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.886, allocations: 0 / 1.399 GB, free: 4.945 MB / 0.8542 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