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.501/2.501, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.00104/0.00104, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009226/0.0009226, allocations: 91.94 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.86e-05, allocations: 3.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2788, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9725/1.251, allocations: 150.6 MB / 1.366 GB, free: 3.371 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/1.252, allocations: 73.33 kB / 1.366 GB, free: 3.332 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005455/1.257, allocations: 1.884 MB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.513e-06/1.257, allocations: 0 / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.449e-05/1.257, allocations: 8 kB / 1.368 GB, free: 1.672 MB / 0.823 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.0006428/1.258, allocations: 414.8 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.258, allocations: 12.03 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.015e-05/1.258, allocations: 42.48 kB / 1.368 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/1.258, allocations: 19.77 kB / 1.368 GB, free: 1.152 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/1.258, allocations: 211.4 kB / 1.369 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/1.258, allocations: 4 kB / 1.369 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/1.258, allocations: 7.812 kB / 1.369 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/1.259, allocations: 91.7 kB / 1.369 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.259, allocations: 0 / 1.369 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.259, allocations: 3.125 kB / 1.369 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.259, allocations: 8 kB / 1.369 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/1.259, allocations: 67.09 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/1.26, allocations: 483.4 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/1.26, allocations: 112.2 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/1.26, allocations: 45.59 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/1.26, allocations: 7.516 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/1.26, allocations: 38.56 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/1.26, allocations: 0.875 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.000295/1.26, allocations: 104 kB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.26, allocations: 81.11 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/1.261, allocations: 147.8 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/1.261, allocations: 25.7 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/1.261, allocations: 112.8 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.261, allocations: 30.75 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/1.261, allocations: 3.062 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.261, allocations: 323.5 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/1.261, allocations: 28.94 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/1.261, allocations: 43.83 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.437e-05/1.261, allocations: 22.44 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.261, allocations: 4 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/1.261, allocations: 116.9 kB / 1.37 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.261, allocations: 11.95 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.261, allocations: 0 / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.261, allocations: 4 kB / 1.37 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/1.262, allocations: 27.92 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.262, allocations: 4 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/1.262, allocations: 11.98 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/1.262, allocations: 4 kB / 1.37 GB, free: 15.08 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.349e-05/1.262, allocations: 112.5 kB / 1.371 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/1.262, allocations: 15.81 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/1.262, allocations: 130.2 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.262, allocations: 4 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.262, allocations: 0 / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/1.262, allocations: 3.938 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/1.263, allocations: 213.5 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.263, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/1.263, allocations: 31.23 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.263, allocations: 96 / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.263, allocations: 4 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/1.263, allocations: 4.141 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.263, allocations: 11.92 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/1.263, allocations: 289.1 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/1.263, allocations: 92.27 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/1.263, allocations: 7.891 kB / 1.371 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/1.263, allocations: 11.98 kB / 1.371 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/1.263, allocations: 10.86 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/1.263, allocations: 4 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.578e-05/1.263, allocations: 125.5 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.263, allocations: 0 / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002984/1.264, allocations: 34.34 kB / 1.371 GB, free: 14 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.0005686/1.264, allocations: 0.8887 MB / 1.372 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001691/1.265, allocations: 68.12 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.265, allocations: 7.375 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/1.265, allocations: 37.12 kB / 1.372 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/1.265, allocations: 42.16 kB / 1.372 GB, free: 13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/1.266, allocations: 189.7 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/1.266, allocations: 0.7126 MB / 1.373 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.671e-05/1.266, allocations: 16.56 kB / 1.373 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.272e-05/1.266, allocations: 35.61 kB / 1.373 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.266, allocations: 0 / 1.373 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/1.28, allocations: 3.211 MB / 1.377 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.281, allocations: 173.2 kB / 1.377 GB, free: 8.809 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.974, allocations: 3.938 kB / 1.377 GB, free: 8.805 MB / 0.8386 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