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.001669/0.001669, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00191/0.00191, allocations: 218.4 kB / 23.01 MB, free: 4.566 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7714 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.00206/0.00206, allocations: 67.62 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004532/0.3509, allocations: 2.531 MB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.3541, allocations: 1.743 MB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.3544, allocations: 11.88 kB / 1.289 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.3554, allocations: 334.7 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006235/0.356, allocations: 260.2 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.3566, allocations: 212.5 kB / 1.29 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000518/0.3571, allocations: 406.7 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3573, allocations: 52.89 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.3575, allocations: 171.3 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.3578, allocations: 183.2 kB / 1.29 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.3578, allocations: 23.98 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.358, allocations: 83.89 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3582, allocations: 135.5 kB / 1.291 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.3584, allocations: 194.5 kB / 1.291 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.3591, allocations: 0.5093 MB / 1.291 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3591, allocations: 3.938 kB / 1.291 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3591, allocations: 3.938 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3591, allocations: 4 kB / 1.291 GB, free: 4.414 MB / 0.9825 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.001397/0.3605, allocations: 0.7969 MB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3605, allocations: 8.031 kB / 1.292 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.3606, allocations: 64.52 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.3612, allocations: 375.6 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3613, allocations: 15.94 kB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3613, allocations: 8 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.3616, allocations: 139.3 kB / 1.293 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3616, allocations: 0 / 1.293 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.3616, allocations: 4 kB / 1.293 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3616, allocations: 11.92 kB / 1.293 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.3618, allocations: 67.91 kB / 1.293 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.3628, allocations: 0.5501 MB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.3631, allocations: 118.7 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.3632, allocations: 44.84 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.3632, allocations: 4 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.3635, allocations: 119.2 kB / 1.294 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3635, allocations: 0 / 1.294 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005245/0.364, allocations: 234.4 kB / 1.294 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.3641, allocations: 77.11 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.3649, allocations: 0.7111 MB / 1.295 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.3649, allocations: 33.7 kB / 1.295 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.3652, allocations: 272.4 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.3652, allocations: 35.73 kB / 1.295 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.931e-05/0.3653, allocations: 57.69 kB / 1.295 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3655, allocations: 370.8 kB / 1.295 GB, free: 140 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3657, allocations: 71.97 kB / 1.295 GB, free: 68 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.3659, allocations: 130.2 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.3662, allocations: 133.7 kB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3662, allocations: 3.938 kB / 1.296 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004674/0.3666, allocations: 277.1 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3666, allocations: 8.062 kB / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3667, allocations: 4 kB / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3667, allocations: 0 / 1.296 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3668, allocations: 35.92 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3668, allocations: 3.984 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.367, allocations: 27.88 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.367, allocations: 7.938 kB / 1.296 GB, free: 15.41 MB / 0.9981 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.0002548/0.3673, allocations: 219.4 kB / 1.296 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.3674, allocations: 67.56 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.3678, allocations: 206.1 kB / 1.296 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3678, allocations: 4 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3678, allocations: 0 / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3678, allocations: 3.984 kB / 1.296 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.3682, allocations: 344.4 kB / 1.297 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3682, allocations: 3.938 kB / 1.297 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.3682, allocations: 8 kB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3682, allocations: 4 kB / 1.297 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3682, allocations: 7.984 kB / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3682, allocations: 0 / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3682, allocations: 0 / 1.297 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.3686, allocations: 216.7 kB / 1.297 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3687, allocations: 63.5 kB / 1.297 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.3688, allocations: 11.94 kB / 1.297 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3689, allocations: 7.984 kB / 1.297 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.369, allocations: 27.97 kB / 1.297 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.369, allocations: 7.984 kB / 1.297 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005697/0.3695, allocations: 479 kB / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3695, allocations: 0 / 1.298 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003392/0.3699, allocations: 71.89 kB / 1.298 GB, free: 13.63 MB / 0.9981 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 (13): * Single equations (assignments): 9 * 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.001622/0.3715, allocations: 430.5 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3719, allocations: 143.9 kB / 1.298 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3719, allocations: 0 / 1.298 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.372, allocations: 63.78 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.3725, allocations: 101.1 kB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.374, allocations: 0.9088 MB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.3745, allocations: 0.8579 MB / 1.3 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.803e-05/0.3746, allocations: 35.42 kB / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/0.3746, allocations: 0 / 1.3 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.009786/0.3844, allocations: 5.902 MB / 1.306 GB, free: 5.332 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.653156832995592]