Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 216.1 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.405/3.405, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 69.52 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.4957, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005818/0.5015, allocations: 2.413 MB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003894/0.5054, allocations: 1.615 MB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.5057, allocations: 11.88 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.507, allocations: 322.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007284/0.5077, allocations: 267.7 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.5084, allocations: 210.1 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.509, allocations: 414.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.5092, allocations: 44.84 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.5094, allocations: 179.2 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.5097, allocations: 179.2 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.5098, allocations: 20 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.51, allocations: 79.94 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.5102, allocations: 135.4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.5104, allocations: 142.9 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008294/0.5113, allocations: 0.5249 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.5113, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5113, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.5113, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 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.001615/0.5129, allocations: 0.793 MB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.513, allocations: 8.031 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.5131, allocations: 68.52 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.5138, allocations: 383.3 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.5139, allocations: 12.12 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.5139, allocations: 12 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.5142, allocations: 144.2 kB / 1.335 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.5142, allocations: 4 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.5143, allocations: 8 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5143, allocations: 0 / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.5145, allocations: 75.89 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.5155, allocations: 0.4962 MB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.5159, allocations: 118.7 kB / 1.336 GB, free: 8.211 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.516, allocations: 52.83 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.516, allocations: 4 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.5163, allocations: 145 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.5163, allocations: 0 / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005998/0.5169, allocations: 245.2 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.517, allocations: 59.41 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.518, allocations: 0.7033 MB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.5181, allocations: 33.7 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.5184, allocations: 272.4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.5184, allocations: 39.67 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.5185, allocations: 61.69 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000337/0.5189, allocations: 370.8 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.519, allocations: 75.95 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.5193, allocations: 171.2 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.5196, allocations: 141.5 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5196, allocations: 0 / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005187/0.5201, allocations: 289.1 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5202, allocations: 5.719 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5202, allocations: 0 / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.5202, allocations: 7.938 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.5204, allocations: 31.92 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5204, allocations: 4 kB / 1.338 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.5205, allocations: 23.88 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.5206, allocations: 15.94 kB / 1.338 GB, free: 5.387 MB / 1.029 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.0002755/0.5209, allocations: 216.1 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.5209, allocations: 59.61 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.5215, allocations: 228.8 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5215, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5215, allocations: 0 / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.5217, allocations: 55.61 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.5217, allocations: 12 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.5218, allocations: 7.984 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.5219, allocations: 19.97 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004997/0.5224, allocations: 256.8 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006451/0.5231, allocations: 398.2 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001442/0.5232, allocations: 53.94 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006343/0.5238, allocations: 479 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of Backend: time 5.41e-07/0.5238, allocations: 3.938 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002549/0.5264, allocations: 0.5533 MB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of SimCode: time 0.002265/0.5287, allocations: 1.357 MB / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of Templates: time 0.01399/0.5426, allocations: 5.249 MB / 1.347 GB, free: 12.66 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.18344998700195]