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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001424/0.001424, allocations: 185 kB / 498.1 MB, free: 5.746 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.536/1.536, allocations: 223.2 MB / 0.7948 GB, free: 18.83 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.001065/0.001065, allocations: 100.3 kB / 0.9346 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004042, allocations: 8.844 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3568, allocations: 142.4 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.5821, allocations: 156 MB / 1.375 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.5824, allocations: 95.92 kB / 1.375 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04146/0.6239, allocations: 14.16 MB / 1.389 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.954e-06/0.624, allocations: 0 / 1.389 GB, free: 15.03 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.456e-05/0.6241, allocations: 12 kB / 1.389 GB, free: 15.02 MB / 0.9011 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.001694/0.6258, allocations: 0.8147 MB / 1.39 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.6258, allocations: 8.031 kB / 1.39 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.626, allocations: 59.25 kB / 1.39 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.6271, allocations: 435.9 kB / 1.39 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.6271, allocations: 8.188 kB / 1.39 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.6272, allocations: 11.98 kB / 1.39 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.6275, allocations: 145 kB / 1.391 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6275, allocations: 4 kB / 1.391 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.6276, allocations: 4 kB / 1.391 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.6276, allocations: 0 / 1.391 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.6278, allocations: 77.64 kB / 1.391 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.629, allocations: 0.5949 MB / 1.391 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.6294, allocations: 134.7 kB / 1.391 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.6294, allocations: 4 kB / 1.391 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.6296, allocations: 115.3 kB / 1.391 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 2.345e-06/0.6296, allocations: 0 / 1.391 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.0006064/0.6303, allocations: 252.7 kB / 1.392 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.6303, allocations: 77.11 kB / 1.392 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008908/0.6312, allocations: 0.6165 MB / 1.392 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.6313, allocations: 33.64 kB / 1.392 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.6315, allocations: 264.4 kB / 1.393 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.6316, allocations: 35.55 kB / 1.393 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-05/0.6316, allocations: 4 kB / 1.393 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6318, allocations: 370.8 kB / 1.393 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.632, allocations: 83.95 kB / 1.393 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.6322, allocations: 129.5 kB / 1.393 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.6323, allocations: 92.47 kB / 1.393 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6324, allocations: 0 / 1.393 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005074/0.6329, allocations: 298 kB / 1.394 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6329, allocations: 4 kB / 1.394 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6329, allocations: 8.109 kB / 1.394 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6329, allocations: 7.922 kB / 1.394 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.6331, allocations: 31.98 kB / 1.394 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.6331, allocations: 0 / 1.394 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.6333, allocations: 23.98 kB / 1.394 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.6334, allocations: 15.98 kB / 1.394 GB, free: 10.06 MB / 0.9011 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 () * Number of clocked 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 0.0002457/0.6336, allocations: 211.4 kB / 1.394 GB, free: 9.844 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.6337, allocations: 63.2 kB / 1.394 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.6342, allocations: 222.6 kB / 1.394 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.6342, allocations: 0 / 1.394 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6342, allocations: 0 / 1.394 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6342, allocations: 224 / 1.394 GB, free: 9.551 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.6346, allocations: 385.3 kB / 1.395 GB, free: 9.125 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6346, allocations: 3.938 kB / 1.395 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.6347, allocations: 12 kB / 1.395 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6347, allocations: 0 / 1.395 GB, free: 9.109 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.6347, allocations: 7.953 kB / 1.395 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6347, allocations: 4 kB / 1.395 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6347, allocations: 3.984 kB / 1.395 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.6351, allocations: 234.8 kB / 1.395 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.6353, allocations: 140.3 kB / 1.395 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.6354, allocations: 8 kB / 1.395 GB, free: 8.684 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.6355, allocations: 23.94 kB / 1.395 GB, free: 8.66 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.6356, allocations: 15.97 kB / 1.395 GB, free: 8.645 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.6356, allocations: 12 kB / 1.395 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005567/0.6362, allocations: 467 kB / 1.395 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6362, allocations: 0 / 1.395 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004083/0.6366, allocations: 83.92 kB / 1.396 GB, free: 8.102 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001279/0.6379, allocations: 470.8 kB / 1.396 GB, free: 7.793 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.6383, allocations: 162.2 kB / 1.396 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6383, allocations: 0 / 1.396 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.6385, allocations: 67.84 kB / 1.396 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.639, allocations: 89.69 kB / 1.396 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.6406, allocations: 0.9381 MB / 1.397 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.6411, allocations: 0.873 MB / 1.398 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001847/0.6413, allocations: 42.27 kB / 1.398 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.811e-05/0.6414, allocations: 39.36 kB / 1.398 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of SimCode: time 4.51e-07/0.6414, allocations: 0 / 1.398 GB, free: 5.535 MB / 0.9011 GB Notification: Performance of Templates: time 0.01017/0.6516, allocations: 4.567 MB / 1.403 GB, free: 1.004 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches