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 2.581/2.581, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.00138/0.00138, allocations: 171.3 kB / 492.3 MB, free: 0.6406 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.603/1.603, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001286/0.001286, allocations: 95.88 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.315e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3856, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.87, allocations: 153.9 MB / 1.363 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.87, allocations: 93.3 kB / 1.363 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01891/1.889, allocations: 7.387 MB / 1.37 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.803e-06/1.889, allocations: 0 / 1.37 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.953e-05/1.889, allocations: 15.22 kB / 1.37 GB, free: 34.28 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.0009068/1.89, allocations: 0.6694 MB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.89, allocations: 7.656 kB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.181e-05/1.89, allocations: 82.95 kB / 1.371 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/1.89, allocations: 50.06 kB / 1.371 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/1.891, allocations: 381.9 kB / 1.371 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/1.891, allocations: 34.09 kB / 1.371 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/1.891, allocations: 52.16 kB / 1.371 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/1.891, allocations: 414.5 kB / 1.372 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.891, allocations: 0 / 1.372 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/1.891, allocations: 17.19 kB / 1.372 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/1.892, allocations: 7.719 kB / 1.372 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/1.892, allocations: 290.6 kB / 1.372 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/1.894, allocations: 1.365 MB / 1.373 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/1.894, allocations: 269.2 kB / 1.374 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/1.894, allocations: 134.3 kB / 1.374 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/1.894, allocations: 11.83 kB / 1.374 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/1.895, allocations: 201.3 kB / 1.374 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/1.895, allocations: 0 / 1.374 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004908/1.895, allocations: 277.9 kB / 1.374 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.895, allocations: 158.1 kB / 1.374 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/1.896, allocations: 346.5 kB / 1.375 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/1.896, allocations: 32.86 kB / 1.375 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.896, allocations: 229.3 kB / 1.375 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/1.896, allocations: 91.48 kB / 1.375 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/1.896, allocations: 10.78 kB / 1.375 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.896, allocations: 345 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.896, allocations: 109.2 kB / 1.376 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/1.897, allocations: 186 kB / 1.376 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/1.897, allocations: 149.2 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.897, allocations: 3.906 kB / 1.376 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005524/1.898, allocations: 391.5 kB / 1.376 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.898, allocations: 303 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.898, allocations: 2.625 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.898, allocations: 7.406 kB / 1.376 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/1.898, allocations: 55.03 kB / 1.377 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.898, allocations: 3.844 kB / 1.377 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/1.898, allocations: 91.72 kB / 1.377 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/1.898, allocations: 10.33 kB / 1.377 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.914e-06/1.898, allocations: 3.844 kB / 1.377 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004803/1.899, allocations: 335.7 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-06/1.899, allocations: 0 / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-06/1.899, allocations: 7.047 kB / 1.377 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/1.899, allocations: 52.09 kB / 1.377 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/1.899, allocations: 3.969 kB / 1.377 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/1.899, allocations: 85.14 kB / 1.377 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/1.899, allocations: 11.53 kB / 1.377 GB, free: 31.28 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.0001276/1.9, allocations: 130.8 kB / 1.377 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/1.9, allocations: 35.06 kB / 1.377 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005021/1.9, allocations: 318.3 kB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.9, allocations: 7.922 kB / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.9, allocations: 0 / 1.378 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/1.9, allocations: 6.609 kB / 1.378 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/1.901, allocations: 0.8396 MB / 1.378 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.901, allocations: 3.953 kB / 1.378 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/1.901, allocations: 58.58 kB / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.901, allocations: 3.906 kB / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/1.901, allocations: 10.84 kB / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.901, allocations: 0 / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.901, allocations: 3.812 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/1.902, allocations: 0.5557 MB / 1.379 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/1.902, allocations: 133.8 kB / 1.379 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/1.902, allocations: 10.97 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/1.902, allocations: 26.86 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/1.903, allocations: 23.75 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/1.903, allocations: 13.44 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002773/1.903, allocations: 273.2 kB / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.903, allocations: 0 / 1.38 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005052/1.903, allocations: 154 kB / 1.38 GB, free: 30.25 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.001159/1.905, allocations: 1.339 MB / 1.381 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007503/1.905, allocations: 0.5598 MB / 1.382 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.905, allocations: 0 / 1.382 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/1.905, allocations: 126.2 kB / 1.382 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/1.906, allocations: 72.89 kB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/1.907, allocations: 0.5765 MB / 1.382 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/1.907, allocations: 0.8178 MB / 1.383 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002591/1.908, allocations: 62.75 kB / 1.383 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/1.908, allocations: 141.6 kB / 1.383 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.908, allocations: 0 / 1.383 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/1.929, allocations: 8.618 MB / 1.392 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/1.929, allocations: 181.1 kB / 1.392 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/4.496, allocations: 2.344 kB / 1.392 GB, free: 24.66 MB / 0.8386 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