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.215/2.215, allocations: 390.3 MB / 405.3 MB, free: 13.28 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.00114/0.00114, allocations: 181 kB / 498.1 MB, free: 5.512 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.547/1.547, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0009553/0.0009551, allocations: 109.9 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 11.94 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2491, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.4222, allocations: 149.9 MB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4225, allocations: 75.95 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005493/0.428, allocations: 1.889 MB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.216e-06/0.428, allocations: 0 / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.428, allocations: 4 kB / 1.371 GB, free: 10.14 MB / 0.8698 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.00071/0.4288, allocations: 447.9 kB / 1.372 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4288, allocations: 12.03 kB / 1.372 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.4289, allocations: 34.56 kB / 1.372 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.4289, allocations: 19.77 kB / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.4292, allocations: 198.8 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.4292, allocations: 8 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.4292, allocations: 4 kB / 1.372 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.4295, allocations: 123.3 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.4296, allocations: 0 / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4296, allocations: 0 / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.4296, allocations: 8 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.4299, allocations: 111.9 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.4307, allocations: 480.6 kB / 1.373 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.4311, allocations: 137.3 kB / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.4312, allocations: 0 / 1.373 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4312, allocations: 42.52 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.4312, allocations: 0 / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.000596/0.4318, allocations: 197.6 kB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.4319, allocations: 85.11 kB / 1.373 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.4321, allocations: 158.5 kB / 1.373 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.4321, allocations: 29.7 kB / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.4322, allocations: 112.2 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.4322, allocations: 35.61 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.4322, allocations: 0 / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4323, allocations: 326.8 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4325, allocations: 55.91 kB / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4327, allocations: 61.69 kB / 1.374 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4328, allocations: 63.97 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4328, allocations: 0 / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003584/0.4332, allocations: 153.5 kB / 1.374 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4332, allocations: 4 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.4332, allocations: 3.953 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4333, allocations: 4 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.4334, allocations: 31.92 kB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4335, allocations: 0 / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.4336, allocations: 23.89 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4336, allocations: 0 / 1.374 GB, free: 6.973 MB / 0.8698 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 () * Number of clocked 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 9.67e-05/0.4337, allocations: 117.8 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.4338, allocations: 15.89 kB / 1.374 GB, free: 6.832 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.4342, allocations: 174.7 kB / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4342, allocations: 3.953 kB / 1.374 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4342, allocations: 4 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4342, allocations: 0 / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.4345, allocations: 217.5 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4345, allocations: 4 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.4347, allocations: 27.97 kB / 1.375 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4347, allocations: 4 kB / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4347, allocations: 0 / 1.375 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.4347, allocations: 3.938 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4347, allocations: 4.141 kB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.4352, allocations: 336.3 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.228e-05/0.4352, allocations: 96.84 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.4353, allocations: 8 kB / 1.375 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.4355, allocations: 19.94 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.4355, allocations: 4.281 kB / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.4355, allocations: 0 / 1.375 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.584e-05/0.4356, allocations: 131.2 kB / 1.375 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4356, allocations: 3.938 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002743/0.4359, allocations: 28 kB / 1.375 GB, free: 5.688 MB / 0.8698 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 () * Number of clocked 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.0007096/0.4366, allocations: 0.938 MB / 1.376 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000339/0.437, allocations: 119.9 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.437, allocations: 7.938 kB / 1.376 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4371, allocations: 63.91 kB / 1.376 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.4375, allocations: 35.97 kB / 1.376 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.439, allocations: 0.9745 MB / 1.377 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4392, allocations: 0.7048 MB / 1.378 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.295e-05/0.4393, allocations: 20.42 kB / 1.378 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.4394, allocations: 31.42 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of SimCode: time 3.41e-07/0.4394, allocations: 4 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.4543, allocations: 3.203 MB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002946/0.4547, allocations: 189.3 kB / 1.381 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.081, allocations: 4 kB / 1.381 GB, free: 15.43 MB / 0.8855 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