Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_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.735/2.735, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001314/0.001314, allocations: 175.2 kB / 498.1 MB, free: 5.75 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.5/1.5, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001103/0.001103, allocations: 104.7 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 13.03 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3165, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.5034, allocations: 150.7 MB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5037, allocations: 75.94 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02107/0.5248, allocations: 7.979 MB / 1.378 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5249, allocations: 0 / 1.378 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.069e-05/0.5249, allocations: 8 kB / 1.378 GB, free: 3.133 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001579/0.5265, allocations: 0.7444 MB / 1.379 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.5265, allocations: 8.031 kB / 1.379 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.5267, allocations: 94.52 kB / 1.379 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.5269, allocations: 67.19 kB / 1.379 GB, free: 2.156 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.5272, allocations: 253.2 kB / 1.379 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.5273, allocations: 45.25 kB / 1.379 GB, free: 1.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.5274, allocations: 59.98 kB / 1.379 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.5284, allocations: 0.5025 MB / 1.38 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5284, allocations: 4 kB / 1.38 GB, free: 1.242 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.5285, allocations: 24 kB / 1.38 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5285, allocations: 12 kB / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007205/0.5292, allocations: 368.7 kB / 1.38 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.5317, allocations: 1.516 MB / 1.382 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.5323, allocations: 295.9 kB / 1.382 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.5324, allocations: 15.98 kB / 1.382 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/0.5328, allocations: 195 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=34): time 3.997e-06/0.5328, allocations: 3.984 kB / 1.382 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.0008613/0.5337, allocations: 410.4 kB / 1.382 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.5338, allocations: 85.11 kB / 1.383 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.5342, allocations: 380.8 kB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.5343, allocations: 33.7 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.5345, allocations: 256.1 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.5346, allocations: 114.3 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.5346, allocations: 8 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5348, allocations: 350.8 kB / 1.384 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.5351, allocations: 136.3 kB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/0.5355, allocations: 184.2 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.5358, allocations: 179.2 kB / 1.384 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5358, allocations: 4 kB / 1.384 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008267/0.5367, allocations: 455.5 kB / 1.385 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.898e-05/0.5367, allocations: 41.69 kB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.5367, allocations: 4 kB / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5368, allocations: 8.062 kB / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.5371, allocations: 67.91 kB / 1.385 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5371, allocations: 3.938 kB / 1.385 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.5375, allocations: 99.33 kB / 1.385 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.5375, allocations: 12 kB / 1.385 GB, free: 11.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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.0002302/0.5378, allocations: 171.1 kB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.5378, allocations: 51.36 kB / 1.385 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.5386, allocations: 338.6 kB / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.5386, allocations: 4 kB / 1.385 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.5386, allocations: 3.938 kB / 1.385 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5386, allocations: 4 kB / 1.385 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.5401, allocations: 0.9852 MB / 1.386 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5401, allocations: 0 / 1.386 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.5403, allocations: 64.09 kB / 1.386 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.5404, allocations: 8 kB / 1.386 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.5404, allocations: 11.98 kB / 1.386 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5404, allocations: 4 kB / 1.386 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5404, allocations: 0 / 1.386 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.5412, allocations: 0.6029 MB / 1.387 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5413, allocations: 136.4 kB / 1.387 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.091e-05/0.5413, allocations: 8 kB / 1.387 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.5416, allocations: 15.98 kB / 1.387 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.5417, allocations: 35.86 kB / 1.387 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.5417, allocations: 8 kB / 1.387 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003421/0.542, allocations: 299.2 kB / 1.387 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.01e-07/0.542, allocations: 0 / 1.387 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005268/0.5426, allocations: 111.7 kB / 1.388 GB, free: 8.863 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001387/0.544, allocations: 1.643 MB / 1.389 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000747/0.5447, allocations: 379.4 kB / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5448, allocations: 0 / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.545, allocations: 147.9 kB / 1.39 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.5455, allocations: 57.91 kB / 1.39 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.5479, allocations: 1.725 MB / 1.391 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.5483, allocations: 0.8391 MB / 1.392 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.5485, allocations: 39.27 kB / 1.392 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.5487, allocations: 163.4 kB / 1.392 GB, free: 3.695 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.5488, allocations: 4 kB / 1.392 GB, free: 3.691 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.5705, allocations: 7.288 MB / 1.4 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.5708, allocations: 230.8 kB / 1.4 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/2.604, allocations: 4.062 kB / 1.4 GB, free: 12.36 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat