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.322/2.322, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001109/0.001109, allocations: 184.7 kB / 487.4 MB, free: 5.031 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.611/1.611, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 107.6 kB / 0.9219 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.715e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3434, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/1.492, allocations: 153.2 MB / 1.356 GB, free: 17.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/1.492, allocations: 88.48 kB / 1.356 GB, free: 17.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01882/1.511, allocations: 7.34 MB / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.511, allocations: 0 / 1.363 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.578e-05/1.511, allocations: 15.59 kB / 1.363 GB, free: 33.12 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.0009593/1.512, allocations: 0.6599 MB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.512, allocations: 16.06 kB / 1.364 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/1.512, allocations: 50.5 kB / 1.364 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/1.513, allocations: 387.7 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/1.513, allocations: 19.38 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/1.513, allocations: 31.05 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004375/1.513, allocations: 271.1 kB / 1.364 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/1.514, allocations: 352.5 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.514, allocations: 7.938 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/1.514, allocations: 0 / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.514, allocations: 11.5 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/1.516, allocations: 1.248 MB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/1.516, allocations: 249.5 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/1.516, allocations: 115 kB / 1.366 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/1.516, allocations: 15.94 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/1.517, allocations: 198.5 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/1.517, allocations: 0 / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004268/1.517, allocations: 246.6 kB / 1.367 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/1.517, allocations: 164.4 kB / 1.367 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/1.517, allocations: 238.3 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/1.517, allocations: 25.7 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/1.518, allocations: 246.7 kB / 1.367 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/1.518, allocations: 82.84 kB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/1.518, allocations: 0 / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.518, allocations: 342.3 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/1.518, allocations: 103.2 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/1.518, allocations: 166.5 kB / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/1.519, allocations: 126.2 kB / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.519, allocations: 0 / 1.368 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000549/1.519, allocations: 334.4 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/1.519, allocations: 313.5 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.519, allocations: 0 / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/1.519, allocations: 3.875 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/1.52, allocations: 55.41 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.52, allocations: 0 / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/1.52, allocations: 75.59 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/1.52, allocations: 19.91 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-06/1.52, allocations: 3.812 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00047/1.52, allocations: 281.5 kB / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/1.521, allocations: 3.844 kB / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/1.521, allocations: 0 / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/1.521, allocations: 51.91 kB / 1.369 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.521, allocations: 7.922 kB / 1.369 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/1.521, allocations: 61.7 kB / 1.369 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/1.521, allocations: 15.47 kB / 1.369 GB, free: 30.32 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.0001219/1.521, allocations: 113.8 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003193/1.522, allocations: 242.2 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/1.522, allocations: 23.41 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/1.522, allocations: 295.9 kB / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.522, allocations: 3.969 kB / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.522, allocations: 0 / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.522, allocations: 6.797 kB / 1.37 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/1.523, allocations: 0.7465 MB / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/1.523, allocations: 0 / 1.371 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.523, allocations: 65.97 kB / 1.371 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.523, allocations: 64 / 1.371 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/1.523, allocations: 7.844 kB / 1.371 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.523, allocations: 7.781 kB / 1.371 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.523, allocations: 0 / 1.371 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/1.524, allocations: 0.5155 MB / 1.371 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/1.524, allocations: 117.7 kB / 1.371 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/1.524, allocations: 0 / 1.371 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.524, allocations: 25.27 kB / 1.371 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/1.524, allocations: 25.09 kB / 1.371 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/1.524, allocations: 14.89 kB / 1.371 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001727/1.524, allocations: 184.4 kB / 1.372 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.524, allocations: 0 / 1.372 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004936/1.525, allocations: 162.4 kB / 1.372 GB, free: 29.27 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.0009687/1.526, allocations: 1.303 MB / 1.373 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007069/1.527, allocations: 0.5265 MB / 1.374 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.527, allocations: 7.719 kB / 1.374 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/1.527, allocations: 118.2 kB / 1.374 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/1.527, allocations: 50.2 kB / 1.374 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/1.528, allocations: 0.542 MB / 1.374 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/1.529, allocations: 0.8152 MB / 1.375 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002123/1.529, allocations: 53.47 kB / 1.375 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/1.529, allocations: 135.1 kB / 1.375 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.529, allocations: 3.875 kB / 1.375 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/1.558, allocations: 6.954 MB / 1.382 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003483/1.558, allocations: 175.8 kB / 1.382 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.191/3.749, allocations: 3.625 kB / 1.382 GB, free: 25.6 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