Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001496/0.001496, allocations: 108.9 kB / 16.41 MB, free: 6.449 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.001718/0.001718, allocations: 189.6 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.629/1.629, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.8974, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004318/0.9017, allocations: 2.457 MB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.9045, allocations: 1.576 MB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000286/0.9048, allocations: 7.938 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.9059, allocations: 318.3 kB / 1.213 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006023/0.9065, allocations: 211.1 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007944/0.9073, allocations: 266.7 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006646/0.908, allocations: 390.8 kB / 1.214 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.9083, allocations: 72.25 kB / 1.214 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.9086, allocations: 175.2 kB / 1.214 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.9089, allocations: 159.2 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.9089, allocations: 23.94 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.9092, allocations: 83.88 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.9093, allocations: 123.6 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.9095, allocations: 194.5 kB / 1.214 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.9102, allocations: 0.4923 MB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9102, allocations: 0 / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9102, allocations: 4 kB / 1.215 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9102, allocations: 0 / 1.215 GB, free: 7.102 MB / 0.9356 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.001366/0.9116, allocations: 0.8296 MB / 1.216 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.9116, allocations: 8.031 kB / 1.216 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.9118, allocations: 60.19 kB / 1.216 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006484/0.9124, allocations: 440.8 kB / 1.216 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.9125, allocations: 11.94 kB / 1.216 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.9125, allocations: 12 kB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.9129, allocations: 139.3 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9129, allocations: 0 / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.9129, allocations: 4 kB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.9129, allocations: 7.938 kB / 1.216 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.9131, allocations: 67.95 kB / 1.216 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009693/0.9141, allocations: 0.5744 MB / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003122/0.9144, allocations: 130.7 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.9146, allocations: 44.83 kB / 1.217 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.9146, allocations: 4 kB / 1.217 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.9148, allocations: 119.3 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.9149, allocations: 0 / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0005588/0.9154, allocations: 237 kB / 1.217 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.9155, allocations: 81.11 kB / 1.217 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.9163, allocations: 0.6798 MB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.9163, allocations: 33.7 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.9165, allocations: 260.4 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.9166, allocations: 39.55 kB / 1.218 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.9167, allocations: 57.69 kB / 1.219 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.9169, allocations: 366.8 kB / 1.219 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.917, allocations: 71.97 kB / 1.219 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.9172, allocations: 122.6 kB / 1.219 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.9175, allocations: 141.3 kB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9175, allocations: 0 / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004773/0.918, allocations: 276.7 kB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.918, allocations: 4 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.918, allocations: 3.938 kB / 1.219 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.9181, allocations: 8.062 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.9182, allocations: 31.92 kB / 1.219 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.9183, allocations: 4 kB / 1.219 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.9184, allocations: 23.83 kB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.9185, allocations: 8 kB / 1.22 GB, free: 1.988 MB / 0.9356 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.0002134/0.9187, allocations: 211.5 kB / 1.22 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.9188, allocations: 55.28 kB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.9189, allocations: 65.03 kB / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.9189, allocations: 0 / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9189, allocations: 0 / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.919, allocations: 128.4 kB / 1.22 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.9191, allocations: 11.98 kB / 1.22 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.9192, allocations: 4 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.9192, allocations: 19.97 kB / 1.22 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000364/0.9196, allocations: 248.3 kB / 1.22 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004049/0.92, allocations: 358.1 kB / 1.221 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001222/0.9202, allocations: 55.97 kB / 1.221 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004982/0.9207, allocations: 471 kB / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of Backend: time 8.22e-07/0.9207, allocations: 0 / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.9224, allocations: 0.5379 MB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001872/0.9242, allocations: 1.33 MB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of Templates: time 0.01104/0.9353, allocations: 4.547 MB / 1.227 GB, free: 10.08 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches