Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009854/0.0009856, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001287, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7652/0.7656, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002418/0.7681, allocations: 1.818 MB / 0.9554 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.77, allocations: 1.236 MB / 0.9566 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.7702, allocations: 2.656 kB / 0.9566 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.7708, allocations: 174.2 kB / 0.9567 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.771, allocations: 115.9 kB / 0.9569 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.7715, allocations: 115 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.7717, allocations: 149.8 kB / 0.9571 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.7719, allocations: 34.38 kB / 0.9571 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.772, allocations: 92.66 kB / 0.9572 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.7722, allocations: 87.11 kB / 0.9573 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.7722, allocations: 7.062 kB / 0.9573 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.7723, allocations: 38.08 kB / 0.9574 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.389e-05/0.7724, allocations: 80.42 kB / 0.9574 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.7725, allocations: 77.67 kB / 0.9575 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.7728, allocations: 261.5 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.7728, allocations: 0 / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7728, allocations: 0 / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.7728, allocations: 0 / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008025/0.7736, allocations: 0.6351 MB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.7737, allocations: 9.312 kB / 0.9584 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.7737, allocations: 41.55 kB / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.7738, allocations: 46.95 kB / 0.9585 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.7742, allocations: 329.3 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.7742, allocations: 6.25 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.7742, allocations: 4.719 kB / 0.9588 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.7744, allocations: 74.44 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.7744, allocations: 4 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.7744, allocations: 5.109 kB / 0.9589 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7745, allocations: 5.359 kB / 0.9589 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.7746, allocations: 33.55 kB / 0.9589 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.7752, allocations: 469.5 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.7754, allocations: 69.19 kB / 0.9594 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.7754, allocations: 1.156 kB / 0.9594 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.7756, allocations: 73.89 kB / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.7756, allocations: 0 / 0.9595 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.7759, allocations: 144.3 kB / 0.9596 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.776, allocations: 52.31 kB / 0.9597 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.7766, allocations: 0.5354 MB / 0.9602 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.7766, allocations: 27.08 kB / 0.9602 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.7768, allocations: 216.8 kB / 0.9604 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.7768, allocations: 18.48 kB / 0.9605 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.7768, allocations: 9.312 kB / 0.9605 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.7769, allocations: 355.2 kB / 0.9608 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.997e-05/0.777, allocations: 55.12 kB / 0.9609 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.7771, allocations: 69.27 kB / 0.9609 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.7773, allocations: 49.09 kB / 0.961 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.7773, allocations: 0 / 0.961 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003119/0.7776, allocations: 200.3 kB / 0.9612 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7776, allocations: 7.156 kB / 0.9612 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7776, allocations: 1.031 kB / 0.9612 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7776, allocations: 9.016 kB / 0.9612 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.7778, allocations: 22.36 kB / 0.9612 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.7778, allocations: 4.953 kB / 0.9612 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.7779, allocations: 17.36 kB / 0.9612 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.7779, allocations: 4.031 kB / 0.9612 GB, free: 2.113 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001652/0.7781, allocations: 188.3 kB / 0.9614 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.7782, allocations: 50.16 kB / 0.9614 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.7782, allocations: 43.31 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7783, allocations: 1.031 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7783, allocations: 0 / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.7783, allocations: 1.219 kB / 0.9615 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.7785, allocations: 300.2 kB / 0.9618 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7785, allocations: 5.156 kB / 0.9618 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.7785, allocations: 2.5 kB / 0.9618 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.7786, allocations: 0.9219 kB / 0.9618 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7786, allocations: 12.91 kB / 0.9618 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7786, allocations: 1 kB / 0.9618 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7786, allocations: 4 kB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.7788, allocations: 153.1 kB / 0.9619 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.207e-05/0.7789, allocations: 119.9 kB / 0.9621 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.7789, allocations: 2.781 kB / 0.9621 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.779, allocations: 8.672 kB / 0.9621 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.7791, allocations: 16.47 kB / 0.9621 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.7791, allocations: 6.656 kB / 0.9621 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003531/0.7795, allocations: 358.9 kB / 0.9624 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7795, allocations: 1 kB / 0.9624 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002699/0.7797, allocations: 38.34 kB / 0.9625 GB, free: 1.125 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/0.781, allocations: 0.9981 MB / 0.9635 GB, free: 380 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.7812, allocations: 93.03 kB / 0.9635 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7812, allocations: 0 / 0.9635 GB, free: 344 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.7813, allocations: 31.55 kB / 0.9636 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.7816, allocations: 56.38 kB / 0.9636 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.783, allocations: 1.149 MB / 0.9647 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.7834, allocations: 0.8312 MB / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.318e-05/0.7835, allocations: 27.92 kB / 0.9656 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.7837, allocations: 114.7 kB / 0.9657 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.7837, allocations: 0 / 0.9657 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.8048, allocations: 6.846 MB / 0.9724 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.8051, allocations: 245.2 kB / 0.9726 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.75, allocations: 4 kB / 0.9726 GB, free: 10.99 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat does not exist to compare? outputFormat=mat