Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.64/2.64, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001151/0.001151, allocations: 194.2 kB / 0.4902 GB, free: 2.238 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.541/1.541, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.0009179/0.0009179, allocations: 98.22 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 7.625 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2457, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.4282, allocations: 150.7 MB / 1.376 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4285, allocations: 71.95 kB / 1.376 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005659/0.4341, allocations: 1.901 MB / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4342, allocations: 0 / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.4342, allocations: 0 / 1.378 GB, free: 12.55 MB / 0.8855 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.0006987/0.4349, allocations: 447.4 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4349, allocations: 12.5 kB / 1.379 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.385e-05/0.435, allocations: 38.56 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.4351, allocations: 15.86 kB / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.4353, allocations: 200.6 kB / 1.379 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4354, allocations: 8 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.4354, allocations: 8 kB / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.4357, allocations: 119.3 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4357, allocations: 3.938 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4358, allocations: 4 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.4358, allocations: 0 / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.4361, allocations: 115.9 kB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.4369, allocations: 484.5 kB / 1.38 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.4373, allocations: 137.3 kB / 1.38 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.4374, allocations: 4 kB / 1.38 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.4374, allocations: 38.52 kB / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4374, allocations: 0 / 1.38 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0006091/0.438, allocations: 201.6 kB / 1.38 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4381, allocations: 81.11 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.4382, allocations: 155.8 kB / 1.38 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.4383, allocations: 25.7 kB / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.4383, allocations: 104.3 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.4384, allocations: 31.55 kB / 1.38 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.4384, allocations: 4 kB / 1.38 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4385, allocations: 318.8 kB / 1.381 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4387, allocations: 55.97 kB / 1.381 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4388, allocations: 65.62 kB / 1.381 GB, free: 9.684 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.439, allocations: 56.03 kB / 1.381 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.439, allocations: 0 / 1.381 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003899/0.4394, allocations: 161.5 kB / 1.381 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4394, allocations: 4 kB / 1.381 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4395, allocations: 3.953 kB / 1.381 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4395, allocations: 0 / 1.381 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.4397, allocations: 35.92 kB / 1.381 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4397, allocations: 0 / 1.381 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.4398, allocations: 15.92 kB / 1.381 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.4398, allocations: 8 kB / 1.381 GB, free: 9.398 MB / 0.8855 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.207e-05/0.4399, allocations: 121.8 kB / 1.381 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.44, allocations: 19.8 kB / 1.381 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.4405, allocations: 170.5 kB / 1.381 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4405, allocations: 4.188 kB / 1.381 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4405, allocations: 0 / 1.381 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4405, allocations: 0 / 1.381 GB, free: 9.074 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.4408, allocations: 229.5 kB / 1.382 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4408, allocations: 0 / 1.382 GB, free: 8.801 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.441, allocations: 35.92 kB / 1.382 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.441, allocations: 0 / 1.382 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.441, allocations: 4.188 kB / 1.382 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.441, allocations: 0 / 1.382 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.441, allocations: 8.078 kB / 1.382 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.4414, allocations: 336.3 kB / 1.382 GB, free: 8.402 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.4415, allocations: 96.84 kB / 1.382 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.4416, allocations: 4 kB / 1.382 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4417, allocations: 19.94 kB / 1.382 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4418, allocations: 4 kB / 1.382 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4418, allocations: 7.984 kB / 1.382 GB, free: 8.254 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.409e-05/0.4419, allocations: 131.5 kB / 1.382 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4419, allocations: 0 / 1.382 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000284/0.4422, allocations: 32 kB / 1.382 GB, free: 8.094 MB / 0.8855 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.0007454/0.443, allocations: 0.9351 MB / 1.383 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4434, allocations: 115.9 kB / 1.383 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4434, allocations: 0 / 1.383 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.4435, allocations: 63.91 kB / 1.383 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4439, allocations: 44.03 kB / 1.383 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.4456, allocations: 0.9789 MB / 1.384 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4459, allocations: 0.7048 MB / 1.385 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.446, allocations: 20.42 kB / 1.385 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.547e-05/0.4461, allocations: 31.42 kB / 1.385 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/0.4461, allocations: 0 / 1.385 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.4654, allocations: 3.216 MB / 1.388 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.4657, allocations: 193.2 kB / 1.388 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.28, allocations: 0 / 1.388 GB, free: 1.855 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat