Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.551/2.551, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001059/0.001059, allocations: 180.8 kB / 487.4 MB, free: 5.074 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.462/1.462, allocations: 221.5 MB / 0.7824 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 95.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.969e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2724, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9168/1.189, allocations: 155.3 MB / 1.358 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/1.19, allocations: 87.42 kB / 1.358 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03217/1.222, allocations: 14.01 MB / 1.371 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.222, allocations: 4 kB / 1.371 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.584e-05/1.222, allocations: 7.812 kB / 1.371 GB, free: 32.66 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008288/1.223, allocations: 0.6919 MB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.223, allocations: 7.688 kB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/1.223, allocations: 58.25 kB / 1.372 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/1.223, allocations: 434.3 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.223, allocations: 5.875 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/1.223, allocations: 7.719 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/1.224, allocations: 63.58 kB / 1.373 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/1.224, allocations: 123.9 kB / 1.373 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.224, allocations: 3.938 kB / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.224, allocations: 0 / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.224, allocations: 3.844 kB / 1.373 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/1.225, allocations: 0.5621 MB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/1.225, allocations: 113 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/1.225, allocations: 46.2 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/1.225, allocations: 224 / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/1.225, allocations: 120.6 kB / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/1.225, allocations: 0 / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002749/1.225, allocations: 178.8 kB / 1.374 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/1.225, allocations: 88.3 kB / 1.374 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/1.226, allocations: 0.577 MB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/1.226, allocations: 29.36 kB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/1.226, allocations: 261.6 kB / 1.375 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/1.226, allocations: 38.78 kB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/1.226, allocations: 3.812 kB / 1.375 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.226, allocations: 369.1 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/1.226, allocations: 75.67 kB / 1.375 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.226, allocations: 120.7 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/1.227, allocations: 90.77 kB / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.227, allocations: 0 / 1.375 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000371/1.227, allocations: 280.8 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.227, allocations: 9.906 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/1.227, allocations: 3.953 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.227, allocations: 2.25 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/1.227, allocations: 31.44 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/1.227, allocations: 3.844 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/1.227, allocations: 24.59 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/1.228, allocations: 11.28 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.runSig,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.036e-05/1.228, allocations: 122.7 kB / 1.376 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002048/1.228, allocations: 182.6 kB / 1.376 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/1.228, allocations: 62.05 kB / 1.376 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/1.228, allocations: 206.7 kB / 1.376 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.228, allocations: 3.984 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.228, allocations: 0 / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.228, allocations: 2.672 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/1.228, allocations: 348.1 kB / 1.377 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.228, allocations: 4 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/1.229, allocations: 7.812 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.229, allocations: 3.844 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/1.229, allocations: 6.531 kB / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/1.229, allocations: 0 / 1.377 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.229, allocations: 3.938 kB / 1.377 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/1.229, allocations: 220.5 kB / 1.377 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/1.229, allocations: 135.1 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/1.229, allocations: 11.09 kB / 1.377 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.229, allocations: 20.5 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/1.229, allocations: 17.27 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/1.229, allocations: 6.188 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003801/1.23, allocations: 434.9 kB / 1.377 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.9e-07/1.23, allocations: 0 / 1.377 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003415/1.23, allocations: 75.45 kB / 1.378 GB, free: 29.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.runSig,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001236/1.231, allocations: 1.054 MB / 1.379 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002439/1.231, allocations: 145 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.231, allocations: 0 / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/1.231, allocations: 58.61 kB / 1.379 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/1.232, allocations: 83.88 kB / 1.379 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/1.233, allocations: 0.7191 MB / 1.38 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/1.233, allocations: 0.8873 MB / 1.38 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001432/1.234, allocations: 45.75 kB / 1.38 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/1.234, allocations: 167.8 kB / 1.381 GB, free: 28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.234, allocations: 4 kB / 1.381 GB, free: 28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/1.265, allocations: 9.11 MB / 1.389 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/1.265, allocations: 179 kB / 1.39 GB, free: 23.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.361/3.626, allocations: 0 / 1.39 GB, free: 23.48 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat does not exist to compare? outputFormat=mat