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.001796/0.001795, allocations: 112.4 kB / 16.42 MB, free: 6.445 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.002084/0.002084, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.532/1.532, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.607/2.607, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 64.14 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004166/1.01, allocations: 2.47 MB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002801/1.012, allocations: 1.58 MB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/1.013, allocations: 3.938 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/1.014, allocations: 318.8 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006069/1.015, allocations: 215 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/1.015, allocations: 260 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005504/1.016, allocations: 390.7 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/1.016, allocations: 72.36 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/1.016, allocations: 167.3 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/1.017, allocations: 159.2 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/1.017, allocations: 27.94 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/1.017, allocations: 79.94 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/1.017, allocations: 127.6 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/1.017, allocations: 190.5 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006638/1.018, allocations: 0.4962 MB / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.018, allocations: 0 / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.954e-06/1.018, allocations: 0 / 1.174 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.66e-05/1.018, allocations: 0 / 1.174 GB, free: 13.33 MB / 0.9044 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.001539/1.02, allocations: 0.8297 MB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.02, allocations: 16.91 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/1.02, allocations: 56.19 kB / 1.175 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/1.021, allocations: 444.8 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/1.021, allocations: 15.94 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/1.021, allocations: 4 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/1.021, allocations: 140.5 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.021, allocations: 4 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/1.021, allocations: 4 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/1.021, allocations: 7.938 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/1.021, allocations: 71.89 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/1.022, allocations: 0.5705 MB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/1.023, allocations: 126.7 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/1.023, allocations: 44.83 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/1.023, allocations: 4 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/1.023, allocations: 112.4 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/1.023, allocations: 4 kB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0005377/1.024, allocations: 238.1 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.024, allocations: 81.11 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/1.024, allocations: 0.6798 MB / 1.177 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.024, allocations: 33.7 kB / 1.177 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/1.025, allocations: 260.4 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/1.025, allocations: 35.55 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/1.025, allocations: 57.69 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.025, allocations: 370.8 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/1.025, allocations: 79.89 kB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/1.025, allocations: 121 kB / 1.178 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/1.026, allocations: 140.5 kB / 1.178 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.026, allocations: 0 / 1.178 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004357/1.026, allocations: 269.8 kB / 1.178 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.026, allocations: 7.938 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.026, allocations: 0 / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.026, allocations: 8 kB / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/1.026, allocations: 35.98 kB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.026, allocations: 0 / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.026, allocations: 27.89 kB / 1.178 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/1.027, allocations: 11.98 kB / 1.178 GB, free: 8.207 MB / 0.9044 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.0002224/1.027, allocations: 207.5 kB / 1.179 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/1.027, allocations: 59.27 kB / 1.179 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/1.027, allocations: 57.05 kB / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.027, allocations: 0 / 1.179 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.027, allocations: 4 kB / 1.179 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/1.027, allocations: 132.3 kB / 1.179 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/1.027, allocations: 4 kB / 1.179 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/1.027, allocations: 15.98 kB / 1.179 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/1.027, allocations: 16.03 kB / 1.179 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003628/1.028, allocations: 236.8 kB / 1.179 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004113/1.028, allocations: 367.2 kB / 1.179 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001324/1.028, allocations: 57.34 kB / 1.18 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005107/1.029, allocations: 471 kB / 1.18 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of Backend: time 2.7e-07/1.029, allocations: 4 kB / 1.18 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00167/1.03, allocations: 0.5277 MB / 1.18 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001813/1.032, allocations: 1.322 MB / 1.182 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of Templates: time 0.01049/1.043, allocations: 4.461 MB / 1.186 GB, free: 412 kB / 0.9044 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=480 -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/jenkins1/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