Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001806, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002009/0.002009, allocations: 192.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.926/2.926, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7346, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004778/0.7394, allocations: 2.52 MB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.7425, allocations: 1.546 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.7428, allocations: 7.938 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.744, allocations: 299 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004727/0.7445, allocations: 199.3 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007862/0.7453, allocations: 243.3 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.7458, allocations: 378.7 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.746, allocations: 70.67 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.7462, allocations: 143.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.7464, allocations: 159.3 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.7465, allocations: 12 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.7467, allocations: 67.89 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.7469, allocations: 123.5 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.7471, allocations: 194.5 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.7476, allocations: 474.2 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7477, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7477, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.7477, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 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.001374/0.7491, allocations: 0.8375 MB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.7491, allocations: 8.031 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.7492, allocations: 64.19 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.7499, allocations: 436.7 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.7499, allocations: 11.94 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.75, allocations: 11.94 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.7503, allocations: 139.3 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.7503, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.7504, allocations: 4 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.7504, allocations: 11.94 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.7506, allocations: 67.95 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.7516, allocations: 0.5705 MB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.752, allocations: 122.7 kB / 1.025 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.7521, allocations: 52.83 kB / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.7522, allocations: 0 / 1.025 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/0.7524, allocations: 111.3 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.7524, allocations: 4 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005616/0.753, allocations: 234.3 kB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.7531, allocations: 77.11 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.7539, allocations: 0.6915 MB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.754, allocations: 29.7 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.7542, allocations: 260.3 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.7543, allocations: 39.53 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.7544, allocations: 61.69 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7546, allocations: 366.8 kB / 1.027 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.7547, allocations: 75.95 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.7549, allocations: 118.9 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.7552, allocations: 144.7 kB / 1.027 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.7552, allocations: 3.938 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005362/0.7558, allocations: 268.8 kB / 1.028 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7558, allocations: 8 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7558, allocations: 0 / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7558, allocations: 0 / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.756, allocations: 35.92 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.756, allocations: 4.062 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.7562, allocations: 23.92 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.7562, allocations: 8 kB / 1.028 GB, free: 7.25 MB / 0.7794 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 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.7565, allocations: 215.5 kB / 1.028 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.7566, allocations: 63.17 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.7567, allocations: 61.05 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.7567, allocations: 0 / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.7567, allocations: 8 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7567, allocations: 3.938 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.7571, allocations: 365.4 kB / 1.028 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.7571, allocations: 7.938 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.7572, allocations: 4 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.7572, allocations: 0 / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.7572, allocations: 7.984 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.7572, allocations: 0 / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7572, allocations: 0 / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.7576, allocations: 230.6 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7577, allocations: 128.3 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.7578, allocations: 4 kB / 1.029 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.7579, allocations: 15.98 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.758, allocations: 15.97 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.758, allocations: 4 kB / 1.029 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005478/0.7586, allocations: 471 kB / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7586, allocations: 0 / 1.029 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000332/0.7589, allocations: 75.89 kB / 1.029 GB, free: 5.512 MB / 0.7794 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.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/0.7605, allocations: 427.9 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.7609, allocations: 151.9 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7609, allocations: 0 / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.7611, allocations: 55.92 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.7616, allocations: 89.48 kB / 1.03 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.7632, allocations: 0.9557 MB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.7637, allocations: 0.8613 MB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.7639, allocations: 46.94 kB / 1.032 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.7639, allocations: 31.42 kB / 1.032 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.764, allocations: 0 / 1.032 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of Templates: time 0.01033/0.7743, allocations: 4.127 MB / 1.036 GB, free: 14.93 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches