Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002162/0.002162, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.003059/0.003059, allocations: 163.1 kB / 22.46 MB, free: 5.359 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.645/1.645, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.777/2.777, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.928e-05/4.167e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.006092/0.006134, allocations: 2.421 MB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004162/0.0103, allocations: 1.618 MB / 0.9549 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.01074, allocations: 0 / 0.9549 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.01228, allocations: 319.5 kB / 0.9552 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.01328, allocations: 274.7 kB / 0.9555 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.01408, allocations: 214.2 kB / 0.9557 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.01487, allocations: 422.5 kB / 0.9561 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.01508, allocations: 44.8 kB / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005617/0.01564, allocations: 223.4 kB / 0.9564 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.01605, allocations: 151.6 kB / 0.9565 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.01619, allocations: 20 kB / 0.9565 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.01653, allocations: 79.88 kB / 0.9566 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.0168, allocations: 143.5 kB / 0.9567 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.01704, allocations: 99.58 kB / 0.9568 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.01823, allocations: 0.4982 MB / 0.9573 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.01824, allocations: 3.984 kB / 0.9573 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.036e-06/0.01824, allocations: 0 / 0.9573 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.304e-05/0.01829, allocations: 0 / 0.9573 GB, free: 5.031 MB / 0.8575 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.002679/0.02097, allocations: 0.7813 MB / 0.9581 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.298e-05/0.02105, allocations: 12.03 kB / 0.9581 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.02136, allocations: 64.52 kB / 0.9582 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009836/0.02234, allocations: 390.5 kB / 0.9585 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.02237, allocations: 4.562 kB / 0.9585 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.02241, allocations: 12.38 kB / 0.9585 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.02287, allocations: 148.8 kB / 0.9587 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.02288, allocations: 0 / 0.9587 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.0229, allocations: 8 kB / 0.9587 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.02291, allocations: 4 kB / 0.9587 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.02312, allocations: 75.95 kB / 0.9588 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.02425, allocations: 0.4923 MB / 0.9592 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.02463, allocations: 118.7 kB / 0.9594 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.02477, allocations: 52.83 kB / 0.9594 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.02479, allocations: 0 / 0.9594 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.02516, allocations: 145 kB / 0.9596 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.02516, allocations: 0 / 0.9596 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007116/0.02587, allocations: 245.2 kB / 0.9598 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.02594, allocations: 59.39 kB / 0.9598 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.02697, allocations: 0.6995 MB / 0.9605 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.02701, allocations: 33.7 kB / 0.9606 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.02734, allocations: 272.5 kB / 0.9608 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.02741, allocations: 31.73 kB / 0.9608 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.02752, allocations: 53.7 kB / 0.9609 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002653/0.02778, allocations: 378.7 kB / 0.9613 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001845/0.02797, allocations: 79.95 kB / 0.9613 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.02822, allocations: 167.7 kB / 0.9615 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.0285, allocations: 144.4 kB / 0.9616 GB, free: 400 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02851, allocations: 3.938 kB / 0.9616 GB, free: 396 kB / 0.8575 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004998/0.02901, allocations: 282.6 kB / 0.9619 GB, free: 108 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.02903, allocations: 4.094 kB / 0.9619 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.02903, allocations: 4 kB / 0.9619 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.02906, allocations: 4 kB / 0.9619 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.02923, allocations: 31.92 kB / 0.9619 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.02924, allocations: 7.938 kB / 0.962 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.02942, allocations: 27.86 kB / 0.962 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.02945, allocations: 12 kB / 0.962 GB, free: 16 kB / 0.8575 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.0003192/0.02977, allocations: 215.7 kB / 0.9622 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.834e-05/0.02985, allocations: 55.62 kB / 0.9623 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.03035, allocations: 226.8 kB / 0.9625 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.03035, allocations: 0 / 0.9625 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.03036, allocations: 3.938 kB / 0.9625 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.03037, allocations: 0 / 0.9625 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.03082, allocations: 301.1 kB / 0.9628 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.03082, allocations: 0 / 0.9628 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.03087, allocations: 15.92 kB / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.03087, allocations: 0 / 0.9628 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.03089, allocations: 7.938 kB / 0.9628 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.03089, allocations: 0 / 0.9628 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03089, allocations: 4 kB / 0.9628 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.03138, allocations: 247 kB / 0.963 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.03148, allocations: 55.52 kB / 0.9631 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.03154, allocations: 8 kB / 0.9631 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.03166, allocations: 11.98 kB / 0.9631 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.673e-05/0.03175, allocations: 19.97 kB / 0.9631 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.03178, allocations: 11.92 kB / 0.9631 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007119/0.03249, allocations: 483 kB / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.03249, allocations: 0 / 0.9636 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000419/0.03291, allocations: 67.92 kB / 0.9636 GB, free: 14.25 MB / 0.8731 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.001999/0.03491, allocations: 464.6 kB / 0.9641 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004321/0.03534, allocations: 155.8 kB / 0.9642 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.03534, allocations: 4 kB / 0.9642 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.0355, allocations: 57.88 kB / 0.9643 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.03607, allocations: 101.7 kB / 0.9644 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.03781, allocations: 0.8497 MB / 0.9652 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.03816, allocations: 263.4 kB / 0.9655 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.03832, allocations: 54.94 kB / 0.9655 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.03844, allocations: 32.5 kB / 0.9656 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of SimCode: time 8.92e-07/0.03844, allocations: 0 / 0.9656 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of Templates: time 0.01275/0.05119, allocations: 4.569 MB / 0.97 GB, free: 7.934 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.865277856588364]