Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.844/2.844, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001637/0.001637, allocations: 168 kB / 0.4901 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.722/1.722, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001121/0.001121, allocations: 95.95 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004665, allocations: 7.375 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3389, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.1/5.439, allocations: 1.738 GB / 2.967 GB, free: 248.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/5.439, allocations: 91.95 kB / 2.967 GB, free: 248.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1774/5.617, allocations: 77.77 MB / 3.043 GB, free: 170.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.637e-06/5.617, allocations: 4 kB / 3.043 GB, free: 170.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000145/5.617, allocations: 35.94 kB / 3.043 GB, free: 170.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004549/5.621, allocations: 1.625 MB / 3.045 GB, free: 168.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/5.622, allocations: 8.031 kB / 3.045 GB, free: 168.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005393/5.622, allocations: 194.3 kB / 3.045 GB, free: 168.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005222/5.627, allocations: 0.7667 MB / 3.046 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/5.63, allocations: 0.8534 MB / 3.047 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-05/5.63, allocations: 102.6 kB / 3.047 GB, free: 166.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/5.63, allocations: 128 kB / 3.047 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004423/5.634, allocations: 1.747 MB / 3.049 GB, free: 164.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/5.634, allocations: 0 / 3.049 GB, free: 164.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/5.635, allocations: 56 kB / 3.049 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/5.635, allocations: 36 kB / 3.049 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005642/5.64, allocations: 2.289 MB / 3.051 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008871/5.649, allocations: 4.516 MB / 3.055 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/5.653, allocations: 1.546 MB / 3.057 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006671/5.654, allocations: 498.6 kB / 3.057 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00215/5.656, allocations: 0.9454 MB / 3.058 GB, free: 154.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=124): time 4.889e-06/5.656, allocations: 0 / 3.058 GB, free: 154.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=124): time 0.007078/5.663, allocations: 2.388 MB / 3.061 GB, free: 152.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/5.663, allocations: 248.3 kB / 3.061 GB, free: 152 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/5.664, allocations: 0.7467 MB / 3.062 GB, free: 151.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/5.665, allocations: 53.7 kB / 3.062 GB, free: 151.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/5.665, allocations: 0.5043 MB / 3.062 GB, free: 150.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/5.665, allocations: 417.9 kB / 3.063 GB, free: 150.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/5.666, allocations: 24 kB / 3.063 GB, free: 150.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/5.666, allocations: 341.9 kB / 3.063 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/5.667, allocations: 0.6155 MB / 3.063 GB, free: 149.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/5.669, allocations: 0.7698 MB / 3.064 GB, free: 148.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/5.671, allocations: 0.6662 MB / 3.065 GB, free: 147.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/5.671, allocations: 7.938 kB / 3.065 GB, free: 147.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004542/5.676, allocations: 1.641 MB / 3.067 GB, free: 146.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/5.676, allocations: 4 kB / 3.067 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/5.676, allocations: 7.984 kB / 3.067 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006531/5.676, allocations: 80.84 kB / 3.067 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/5.678, allocations: 315.5 kB / 3.067 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/5.68, allocations: 1.552 MB / 3.068 GB, free: 144 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/5.682, allocations: 186.9 kB / 3.069 GB, free: 143.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/5.682, allocations: 55.91 kB / 3.069 GB, free: 143.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.pumCon.hys.y,pumCon.hys.y,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008883/5.683, allocations: 330.2 kB / 3.069 GB, free: 143.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/5.683, allocations: 118.5 kB / 3.069 GB, free: 143.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/5.689, allocations: 2.04 MB / 3.071 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/5.689, allocations: 19.95 kB / 3.071 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/5.689, allocations: 4 kB / 3.071 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/5.689, allocations: 7.969 kB / 3.071 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007471/5.696, allocations: 3.733 MB / 3.075 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/5.696, allocations: 0 / 3.075 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/5.698, allocations: 307.6 kB / 3.075 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/5.698, allocations: 88.73 kB / 3.075 GB, free: 137.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/5.698, allocations: 39.95 kB / 3.075 GB, free: 137 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/5.7, allocations: 1.575 MB / 3.077 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/5.7, allocations: 3.938 kB / 3.077 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/5.705, allocations: 1.801 MB / 3.078 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009904/5.706, allocations: 427.1 kB / 3.079 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/5.706, allocations: 28 kB / 3.079 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/5.708, allocations: 139.9 kB / 3.079 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/5.708, allocations: 97.11 kB / 3.079 GB, free: 132.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/5.708, allocations: 55.95 kB / 3.079 GB, free: 132.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001087/5.709, allocations: 0.6279 MB / 3.08 GB, free: 132.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/5.709, allocations: 0 / 3.08 GB, free: 132.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00207/5.711, allocations: 0.491 MB / 3.08 GB, free: 131.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,pumCon.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,pumCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007671/5.719, allocations: 3.408 MB / 3.084 GB, free: 128.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004243/5.723, allocations: 1.657 MB / 3.085 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/5.723, allocations: 4 kB / 3.085 GB, free: 126.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/5.726, allocations: 0.9627 MB / 3.086 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/5.727, allocations: 278.5 kB / 3.086 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/5.745, allocations: 8.549 MB / 3.095 GB, free: 116.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/5.746, allocations: 1.192 MB / 3.096 GB, free: 115.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002028/5.748, allocations: 380.8 kB / 3.096 GB, free: 115.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009934/5.749, allocations: 0.5577 MB / 3.097 GB, free: 114.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.294e-06/5.749, allocations: 0 / 3.097 GB, free: 114.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07116/5.82, allocations: 39.87 MB / 3.136 GB, free: 75.02 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/5.82, allocations: 280.7 kB / 3.136 GB, free: 74.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.678/9.498, allocations: 0 / 3.136 GB, free: 74.66 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat does not exist to compare? outputFormat=mat