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.001591/0.001591, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00184/0.00184, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.797 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.532/3.532, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.002227/0.002227, allocations: 68.45 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4927, allocations: 176.1 MB / 1.326 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00518/0.4978, allocations: 2.42 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00341/0.5013, allocations: 1.617 MB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.5015, allocations: 7.938 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5026, allocations: 316 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000626/0.5032, allocations: 270.9 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.5038, allocations: 208.5 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005492/0.5043, allocations: 418.6 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.5045, allocations: 44.84 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.5047, allocations: 167.3 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.505, allocations: 175.1 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.505, allocations: 20 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.5053, allocations: 79.95 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.5054, allocations: 139.5 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.5056, allocations: 142.9 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006865/0.5063, allocations: 0.521 MB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5063, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5063, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.5063, allocations: 0 / 1.332 GB, free: 11.28 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.001465/0.5078, allocations: 0.789 MB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.5078, allocations: 12.03 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5079, allocations: 68.52 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000681/0.5086, allocations: 387.3 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.5086, allocations: 12.12 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.5087, allocations: 8 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.509, allocations: 148.4 kB / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.509, allocations: 4 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.509, allocations: 4 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.509, allocations: 0 / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.5092, allocations: 79.89 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.5102, allocations: 0.4924 MB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.5105, allocations: 126.7 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.5106, allocations: 44.83 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.5107, allocations: 0 / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.511, allocations: 143.4 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.511, allocations: 3.938 kB / 1.334 GB, free: 8.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005787/0.5115, allocations: 253.2 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.5116, allocations: 59.34 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.5125, allocations: 0.7073 MB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/0.5126, allocations: 33.7 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.5128, allocations: 264.4 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.5129, allocations: 39.72 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-05/0.513, allocations: 57.69 kB / 1.335 GB, free: 7.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002244/0.5132, allocations: 370.8 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.5133, allocations: 71.97 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.5136, allocations: 174.3 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5139, allocations: 148.7 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.5139, allocations: 0 / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000484/0.5144, allocations: 282.6 kB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5144, allocations: 4 kB / 1.336 GB, free: 6.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.5144, allocations: 3.938 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5144, allocations: 4 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5146, allocations: 43.98 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.5146, allocations: 3.984 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.5147, allocations: 23.88 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.5147, allocations: 8 kB / 1.337 GB, free: 6.234 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.0002654/0.515, allocations: 216 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.5151, allocations: 55.62 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.5155, allocations: 230.7 kB / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5155, allocations: 0 / 1.337 GB, free: 5.723 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5155, allocations: 4 kB / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5155, allocations: 0 / 1.337 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.5159, allocations: 297.1 kB / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5159, allocations: 0 / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.516, allocations: 8 kB / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.516, allocations: 0 / 1.337 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.516, allocations: 8 kB / 1.337 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.516, allocations: 7.922 kB / 1.337 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.516, allocations: 3.938 kB / 1.337 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005126/0.5165, allocations: 232.6 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5166, allocations: 59.56 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.5167, allocations: 11.98 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5168, allocations: 15.92 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.5169, allocations: 15.97 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.5169, allocations: 8 kB / 1.338 GB, free: 5.016 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005966/0.5175, allocations: 479 kB / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5175, allocations: 0 / 1.338 GB, free: 4.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003292/0.5178, allocations: 75.81 kB / 1.338 GB, free: 4.48 MB / 1.029 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 (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 (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.001798/0.5196, allocations: 469.8 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.52, allocations: 151.8 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.52, allocations: 4 kB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.5201, allocations: 59.91 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.5206, allocations: 93.25 kB / 1.339 GB, free: 3.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.5221, allocations: 0.872 MB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.5225, allocations: 266.7 kB / 1.34 GB, free: 2.715 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.5226, allocations: 54.92 kB / 1.34 GB, free: 2.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.656e-05/0.5227, allocations: 39.42 kB / 1.34 GB, free: 2.625 MB / 1.029 GB Notification: Performance of SimCode: time 7.12e-07/0.5227, allocations: 3.938 kB / 1.34 GB, free: 2.621 MB / 1.029 GB Notification: Performance of Templates: time 0.01191/0.5346, allocations: 5.047 MB / 1.345 GB, free: 13.65 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/jenkins/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.311110390350223]