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.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.001658/0.001658, allocations: 102.1 kB / 19.7 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.002495/0.002495, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.629/1.629, allocations: 230.6 MB / 256.8 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.226/3.226, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002144/0.002144, allocations: 67.36 kB / 1.178 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3658, allocations: 180.2 MB / 1.354 GB, free: 8.094 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004342/0.3701, allocations: 2.511 MB / 1.357 GB, free: 5.57 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.3731, allocations: 1.749 MB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.3733, allocations: 11.88 kB / 1.358 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009689/0.3743, allocations: 324.8 kB / 1.359 GB, free: 3.488 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005985/0.3749, allocations: 274.9 kB / 1.359 GB, free: 3.219 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.3754, allocations: 203.5 kB / 1.359 GB, free: 3.02 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.3759, allocations: 414.6 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3761, allocations: 44.84 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.3764, allocations: 171.3 kB / 1.36 GB, free: 2.402 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.3766, allocations: 183.1 kB / 1.36 GB, free: 2.223 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.3766, allocations: 20 kB / 1.36 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3769, allocations: 95.81 kB / 1.36 GB, free: 2.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.377, allocations: 139.5 kB / 1.36 GB, free: 1.973 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.3772, allocations: 198.5 kB / 1.36 GB, free: 1.777 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.3778, allocations: 0.5092 MB / 1.361 GB, free: 1.266 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3778, allocations: 0 / 1.361 GB, free: 1.266 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3779, allocations: 0 / 1.361 GB, free: 1.266 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.3779, allocations: 0 / 1.361 GB, free: 1.266 MB / 1.045 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.001333/0.3792, allocations: 0.791 MB / 1.362 GB, free: 448 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.3792, allocations: 16.03 kB / 1.362 GB, free: 432 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.3794, allocations: 64.52 kB / 1.362 GB, free: 368 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.38, allocations: 383.5 kB / 1.362 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3801, allocations: 11.94 kB / 1.362 GB, free: 15.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3801, allocations: 12 kB / 1.362 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.3804, allocations: 133.6 kB / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3804, allocations: 0 / 1.362 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.3805, allocations: 16 kB / 1.362 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3805, allocations: 3.938 kB / 1.362 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.3807, allocations: 71.89 kB / 1.362 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009972/0.3817, allocations: 0.5463 MB / 1.363 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.382, allocations: 122.7 kB / 1.363 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.3821, allocations: 40.84 kB / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.3821, allocations: 4 kB / 1.363 GB, free: 14.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.3824, allocations: 117.7 kB / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.3824, allocations: 0 / 1.363 GB, free: 14.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005321/0.3829, allocations: 241.4 kB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.383, allocations: 77.11 kB / 1.363 GB, free: 14.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008621/0.3838, allocations: 0.7111 MB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.3839, allocations: 29.7 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.3841, allocations: 268.4 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.3841, allocations: 39.73 kB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.3842, allocations: 57.69 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.3844, allocations: 374.8 kB / 1.365 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.3846, allocations: 71.97 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3848, allocations: 125.6 kB / 1.365 GB, free: 12.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3851, allocations: 136.6 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3851, allocations: 3.938 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004601/0.3855, allocations: 273.1 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3855, allocations: 8 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.3855, allocations: 3.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3856, allocations: 7.875 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3857, allocations: 39.97 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.3857, allocations: 4 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.3859, allocations: 23.94 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.3859, allocations: 12 kB / 1.365 GB, free: 12.25 MB / 1.061 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.0002651/0.3862, allocations: 211.5 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.3863, allocations: 59.56 kB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.3867, allocations: 206.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3867, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3867, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3867, allocations: 48 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.3871, allocations: 352.5 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3871, allocations: 3.938 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.3872, allocations: 15.98 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3872, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.3872, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3872, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3872, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3875, allocations: 234.6 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.3876, allocations: 55.5 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.3877, allocations: 7.984 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.3878, allocations: 11.98 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.3879, allocations: 19.97 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.3879, allocations: 8 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005542/0.3884, allocations: 475 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3884, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003202/0.3887, allocations: 71.88 kB / 1.367 GB, free: 10.48 MB / 1.061 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.001607/0.3903, allocations: 433.1 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.3907, allocations: 143.9 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3907, allocations: 4 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3909, allocations: 55.86 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.3913, allocations: 96.12 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3927, allocations: 0.9048 MB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.3933, allocations: 0.8689 MB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.856e-05/0.3933, allocations: 23.44 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of SimCode: time 3.6e-07/0.3933, allocations: 8 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of Templates: time 0.00963/0.403, allocations: 5.896 MB / 1.375 GB, free: 2.168 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.558764996996615]