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.375/2.375, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.0009709/0.0009709, allocations: 168.9 kB / 492.3 MB, free: 0.6484 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.499/1.499, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0009412/0.0009415, allocations: 95.45 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.334e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3025, allocations: 142.4 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.995/1.298, allocations: 149.8 MB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/1.298, allocations: 72.19 kB / 1.359 GB, free: 19.17 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005428/1.303, allocations: 1.895 MB / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/1.303, allocations: 0 / 1.361 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.341e-05/1.303, allocations: 3.844 kB / 1.361 GB, free: 34.73 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.0005311/1.304, allocations: 425.7 kB / 1.361 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.304, allocations: 7.781 kB / 1.361 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/1.304, allocations: 43.16 kB / 1.361 GB, free: 34.31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/1.304, allocations: 17.08 kB / 1.361 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/1.304, allocations: 203.3 kB / 1.361 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/1.304, allocations: 5.266 kB / 1.361 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/1.304, allocations: 7.562 kB / 1.361 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/1.304, allocations: 95.38 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.304, allocations: 3.844 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.304, allocations: 3.062 kB / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.304, allocations: 0 / 1.361 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/1.305, allocations: 62.39 kB / 1.362 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/1.305, allocations: 482.2 kB / 1.362 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/1.306, allocations: 118.8 kB / 1.362 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/1.306, allocations: 41.62 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/1.306, allocations: 1.688 kB / 1.362 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/1.306, allocations: 42.11 kB / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/1.306, allocations: 0 / 1.362 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002668/1.306, allocations: 106.4 kB / 1.362 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.306, allocations: 78.56 kB / 1.362 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/1.306, allocations: 150.8 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/1.306, allocations: 29.64 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/1.306, allocations: 105.7 kB / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/1.306, allocations: 33.53 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/1.306, allocations: 1.641 kB / 1.363 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.306, allocations: 326.6 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/1.307, allocations: 26.62 kB / 1.363 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/1.307, allocations: 45.8 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.933e-05/1.307, allocations: 28.77 kB / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.307, allocations: 0 / 1.363 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001632/1.307, allocations: 116.4 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.307, allocations: 3.906 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.307, allocations: 0 / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/1.307, allocations: 7.797 kB / 1.363 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.307, allocations: 33.16 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/1.307, allocations: 0 / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/1.307, allocations: 14.58 kB / 1.363 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/1.307, allocations: 7.156 kB / 1.363 GB, free: 32.79 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 7.87e-05/1.307, allocations: 106.5 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/1.307, allocations: 16.81 kB / 1.363 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/1.308, allocations: 137.8 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.308, allocations: 3.953 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.308, allocations: 3.812 kB / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.308, allocations: 0 / 1.364 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/1.308, allocations: 219.3 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.308, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/1.308, allocations: 28.19 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.308, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.308, allocations: 4 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.308, allocations: 3.781 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.308, allocations: 5.359 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/1.308, allocations: 292.4 kB / 1.364 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/1.308, allocations: 90.02 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/1.308, allocations: 3.5 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/1.309, allocations: 19.97 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/1.309, allocations: 9.906 kB / 1.364 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/1.309, allocations: 7.844 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.733e-05/1.309, allocations: 124.8 kB / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.309, allocations: 0 / 1.364 GB, free: 32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002519/1.309, allocations: 28.3 kB / 1.364 GB, free: 32 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.0005112/1.31, allocations: 0.8887 MB / 1.365 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001647/1.31, allocations: 71.19 kB / 1.365 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.31, allocations: 0 / 1.365 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/1.31, allocations: 39.06 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.31, allocations: 47.23 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/1.311, allocations: 187.3 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.311, allocations: 0.7106 MB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.481e-05/1.311, allocations: 14.36 kB / 1.366 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/1.311, allocations: 36.95 kB / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.311, allocations: 0 / 1.366 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/1.326, allocations: 3.191 MB / 1.369 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/1.326, allocations: 180.3 kB / 1.37 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/3.096, allocations: 0 / 1.37 GB, free: 29.84 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