Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.425/2.425, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001092/0.001092, allocations: 180.8 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.594/1.594, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009197/0.0009197, allocations: 103.8 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2854, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9808/1.266, allocations: 149.1 MB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.267, allocations: 71.61 kB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005931/1.273, allocations: 1.877 MB / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.273, allocations: 0 / 1.354 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.376e-05/1.273, allocations: 4 kB / 1.354 GB, free: 33.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000599/1.273, allocations: 421.4 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.273, allocations: 11.69 kB / 1.354 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/1.273, allocations: 11.66 kB / 1.354 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/1.274, allocations: 207.5 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.274, allocations: 3.938 kB / 1.354 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/1.274, allocations: 7.75 kB / 1.354 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000142/1.274, allocations: 57.88 kB / 1.354 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/1.274, allocations: 86.36 kB / 1.354 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.274, allocations: 3.984 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/1.274, allocations: 0.6562 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.274, allocations: 4 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/1.275, allocations: 450.2 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/1.275, allocations: 108.5 kB / 1.355 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/1.275, allocations: 40.41 kB / 1.355 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/1.275, allocations: 4.484 kB / 1.355 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/1.275, allocations: 33.5 kB / 1.355 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/1.275, allocations: 0 / 1.355 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002667/1.275, allocations: 105.8 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/1.275, allocations: 77.11 kB / 1.355 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/1.276, allocations: 145.5 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/1.276, allocations: 25.7 kB / 1.355 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/1.276, allocations: 109.1 kB / 1.355 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/1.276, allocations: 26.62 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/1.276, allocations: 0 / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.276, allocations: 325.6 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/1.276, allocations: 31.25 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/1.276, allocations: 35.91 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/1.276, allocations: 27.12 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.276, allocations: 0 / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/1.276, allocations: 105.3 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.276, allocations: 7.75 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.276, allocations: 0.6562 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.276, allocations: 4 kB / 1.356 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/1.276, allocations: 34.09 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.276, allocations: 3.953 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/1.277, allocations: 15.16 kB / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/1.277, allocations: 0 / 1.356 GB, free: 31.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.454e-05/1.277, allocations: 113.2 kB / 1.356 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001637/1.277, allocations: 98.56 kB / 1.356 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/1.277, allocations: 16.95 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/1.277, allocations: 115.9 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.277, allocations: 4.141 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.277, allocations: 0.6562 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.277, allocations: 3.938 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/1.277, allocations: 197.3 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.277, allocations: 0 / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/1.278, allocations: 31.83 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.278, allocations: 0 / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/1.278, allocations: 0.8906 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.278, allocations: 3.844 kB / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.278, allocations: 0 / 1.357 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/1.278, allocations: 284.9 kB / 1.357 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/1.278, allocations: 93.44 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/1.278, allocations: 0.75 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.278, allocations: 10.88 kB / 1.357 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/1.278, allocations: 15.06 kB / 1.357 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.278, allocations: 3.844 kB / 1.357 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.995e-05/1.278, allocations: 115.8 kB / 1.357 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.278, allocations: 0 / 1.357 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002606/1.279, allocations: 31 kB / 1.357 GB, free: 31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005157/1.279, allocations: 0.8777 MB / 1.358 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001499/1.279, allocations: 69.95 kB / 1.358 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.279, allocations: 0 / 1.358 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/1.279, allocations: 42.97 kB / 1.358 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/1.28, allocations: 34.55 kB / 1.358 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/1.28, allocations: 180 kB / 1.358 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/1.28, allocations: 0.711 MB / 1.359 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.873e-05/1.281, allocations: 14.41 kB / 1.359 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/1.281, allocations: 34.05 kB / 1.359 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/1.281, allocations: 0 / 1.359 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02645/1.307, allocations: 2.654 MB / 1.362 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.307, allocations: 158.6 kB / 1.362 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.966, allocations: 0 / 1.362 GB, free: 28.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat