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.0008853/0.000885, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009607/0.0009609, allocations: 172.7 kB / 15.95 MB, free: 192 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.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.395 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.365/2.365, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003958, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.75, allocations: 142.3 MB / 0.9539 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002582/0.7527, allocations: 1.832 MB / 0.9556 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.7548, allocations: 1.268 MB / 0.9569 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.755, allocations: 5.344 kB / 0.9569 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.7557, allocations: 171.6 kB / 0.9571 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.756, allocations: 107 kB / 0.9572 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.7565, allocations: 114.6 kB / 0.9573 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.7568, allocations: 197.1 kB / 0.9574 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.757, allocations: 34.64 kB / 0.9575 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.7572, allocations: 89.59 kB / 0.9576 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.7574, allocations: 92.2 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.7574, allocations: 3.562 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.7576, allocations: 46.14 kB / 0.9577 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.7577, allocations: 81.97 kB / 0.9578 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.7578, allocations: 80.88 kB / 0.9579 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.7581, allocations: 260.6 kB / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7581, allocations: 0 / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7581, allocations: 0 / 0.9581 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7581, allocations: 4 kB / 0.9581 GB, free: 4.82 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.0009125/0.759, allocations: 0.6305 MB / 0.9587 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.7591, allocations: 10.12 kB / 0.9587 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.7591, allocations: 35.94 kB / 0.9588 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.675e-05/0.7592, allocations: 51.41 kB / 0.9588 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.7597, allocations: 333.1 kB / 0.9591 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7597, allocations: 6.75 kB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.7597, allocations: 8.125 kB / 0.9592 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.7599, allocations: 79.53 kB / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.7599, allocations: 0 / 0.9592 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.76, allocations: 5.375 kB / 0.9592 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.76, allocations: 5.328 kB / 0.9592 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.83e-05/0.7601, allocations: 37.78 kB / 0.9593 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.7608, allocations: 461.2 kB / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.7609, allocations: 68.67 kB / 0.9598 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.761, allocations: 27.44 kB / 0.9598 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.761, allocations: 5.844 kB / 0.9598 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.7612, allocations: 73.09 kB / 0.9599 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.7612, allocations: 0 / 0.9599 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0003475/0.7616, allocations: 140.1 kB / 0.96 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.7616, allocations: 56.7 kB / 0.9601 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006428/0.7623, allocations: 0.5318 MB / 0.9606 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7623, allocations: 26.77 kB / 0.9606 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.7624, allocations: 228.8 kB / 0.9608 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.7624, allocations: 14.47 kB / 0.9608 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.7625, allocations: 1.344 kB / 0.9608 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.7626, allocations: 360 kB / 0.9612 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-05/0.7627, allocations: 46.11 kB / 0.9612 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.7628, allocations: 71.58 kB / 0.9613 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.7629, allocations: 55.52 kB / 0.9614 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.7629, allocations: 0 / 0.9614 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003378/0.7632, allocations: 200.2 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.7633, allocations: 8.875 kB / 0.9616 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.7633, allocations: 1.219 kB / 0.9616 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7633, allocations: 0.9688 kB / 0.9616 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.7634, allocations: 21.83 kB / 0.9616 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.7634, allocations: 2.25 kB / 0.9616 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.7636, allocations: 21.03 kB / 0.9616 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.7636, allocations: 8.516 kB / 0.9616 GB, free: 1.918 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.0001672/0.7638, allocations: 183.7 kB / 0.9618 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.7638, allocations: 45.61 kB / 0.9618 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.225e-05/0.7639, allocations: 47.36 kB / 0.9619 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7639, allocations: 1.156 kB / 0.9619 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7639, allocations: 0 / 0.9619 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.7639, allocations: 0 / 0.9619 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.7642, allocations: 301.1 kB / 0.9622 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7642, allocations: 0 / 0.9622 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.7642, allocations: 4.031 kB / 0.9622 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.7643, allocations: 8.719 kB / 0.9622 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.7643, allocations: 8.906 kB / 0.9622 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.7643, allocations: 0.9688 kB / 0.9622 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.7643, allocations: 0 / 0.9622 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.7645, allocations: 148.3 kB / 0.9623 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.7646, allocations: 124.6 kB / 0.9624 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.7646, allocations: 5.359 kB / 0.9624 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.7647, allocations: 9.922 kB / 0.9625 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.7648, allocations: 12.92 kB / 0.9625 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.7648, allocations: 3 kB / 0.9625 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003693/0.7652, allocations: 362.8 kB / 0.9628 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7652, allocations: 0 / 0.9628 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002816/0.7655, allocations: 39.56 kB / 0.9629 GB, free: 0.9375 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.001237/0.7667, allocations: 0.9937 MB / 0.9638 GB, free: 192 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.767, allocations: 102.1 kB / 0.9639 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.767, allocations: 1.281 kB / 0.9639 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.7671, allocations: 22.8 kB / 0.9639 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.7674, allocations: 61.73 kB / 0.964 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.771, allocations: 2.203 MB / 0.9662 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.7715, allocations: 0.8191 MB / 0.967 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.7716, allocations: 21.42 kB / 0.967 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.7718, allocations: 118.3 kB / 0.9671 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/0.7718, allocations: 4 kB / 0.9671 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.7952, allocations: 6.97 MB / 0.9739 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.7954, allocations: 245.3 kB / 0.9741 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.788, allocations: 0 / 0.9741 GB, free: 10.31 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