Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.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.001859/0.001859, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002366/0.002366, allocations: 212.3 kB / 23 MB, free: 4.934 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.152/3.152, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRemSet.1..y|dpRemSet.2..y|dpRem.1..y|dpRem.2..y|ctlDpRem.y|ctlDpRem.y_min|ctlDpRem.y_max|y1Pum.y.1.|y1Pum.y.2.|dpLocSet.1..y|dpLocSet.2..y|dpLoc.y|ctlDpLoc.y|ctlDpLoc.y_min|ctlDpLoc.y_max",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRemSet.1..y|dpRemSet.2..y|dpRem.1..y|dpRem.2..y|ctlDpRem.y|ctlDpRem.y_min|ctlDpRem.y_max|y1Pum.y.1.|y1Pum.y.2.|dpLocSet.1..y|dpLocSet.2..y|dpLoc.y|ctlDpLoc.y|ctlDpLoc.y_min|ctlDpLoc.y_max",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") [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.002031/0.002031, allocations: 70.94 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure): time 0.007239/0.3123, allocations: 4.813 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.3174, allocations: 2.79 MB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005095/0.3179, allocations: 35.75 kB / 1.335 GB, free: 9.367 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007882/0.3187, allocations: 330 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006957/0.3194, allocations: 302.3 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3205, allocations: 0.5481 MB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.3225, allocations: 1.898 MB / 1.338 GB, free: 6.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.3235, allocations: 0.6057 MB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008978/0.3244, allocations: 0.736 MB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000789/0.3252, allocations: 0.7001 MB / 1.34 GB, free: 4.211 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.3254, allocations: 200 kB / 1.34 GB, free: 4.016 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004579/0.3259, allocations: 271.9 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.3265, allocations: 0.5376 MB / 1.341 GB, free: 3.211 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006565/0.3271, allocations: 0.5986 MB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002755/0.3299, allocations: 2.736 MB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3299, allocations: 3.938 kB / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3299, allocations: 0 / 1.344 GB, free: 15.86 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.3299, allocations: 0 / 1.344 GB, free: 15.86 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004014/0.3339, allocations: 2.162 MB / 1.346 GB, free: 13.65 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.334, allocations: 8.031 kB / 1.346 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005268/0.3345, allocations: 187.9 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002321/0.3368, allocations: 1.116 MB / 1.347 GB, free: 12.3 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.3369, allocations: 82 kB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.3371, allocations: 112 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.3397, allocations: 1.441 MB / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.3397, allocations: 0 / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.3398, allocations: 43.98 kB / 1.349 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.3398, allocations: 27.98 kB / 1.349 GB, free: 10.56 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.3421, allocations: 1.167 MB / 1.35 GB, free: 9.391 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006525/0.3486, allocations: 3.532 MB / 1.353 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.3511, allocations: 1.18 MB / 1.355 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3521, allocations: 0.546 MB / 1.355 GB, free: 4.047 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.3522, allocations: 12.64 kB / 1.355 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.3534, allocations: 0.5825 MB / 1.356 GB, free: 3.441 MB / 1.045 GB Notification: Performance of pre-optimization done (n=76): time 4.238e-06/0.3534, allocations: 4 kB / 1.356 GB, free: 3.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.003048/0.3564, allocations: 1.418 MB / 1.357 GB, free: 2.012 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.3566, allocations: 153.1 kB / 1.357 GB, free: 1.832 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.3584, allocations: 1.186 MB / 1.358 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.3586, allocations: 49.7 kB / 1.358 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/0.3592, allocations: 0.5752 MB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.3595, allocations: 257.8 kB / 1.359 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.3599, allocations: 222.6 kB / 1.359 GB, free: 15.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.36, allocations: 341.9 kB / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008618/0.3609, allocations: 444.6 kB / 1.36 GB, free: 14.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3625, allocations: 1.425 MB / 1.362 GB, free: 13.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.3643, allocations: 0.9463 MB / 1.362 GB, free: 12.06 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3643, allocations: 4 kB / 1.362 GB, free: 12.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002364/0.3666, allocations: 1.168 MB / 1.364 GB, free: 10.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3667, allocations: 11.98 kB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3667, allocations: 4 kB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.3667, allocations: 4 kB / 1.364 GB, free: 10.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/0.3675, allocations: 171.7 kB / 1.364 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.3675, allocations: 4 kB / 1.364 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.3686, allocations: 143.5 kB / 1.364 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.3687, allocations: 39.98 kB / 1.364 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/0.37, allocations: 0.7946 MB / 1.365 GB, free: 9.707 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001409/0.3714, allocations: 1.371 MB / 1.366 GB, free: 8.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001405/0.3728, allocations: 0.8649 MB / 1.367 GB, free: 7.172 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.3728, allocations: 0 / 1.367 GB, free: 7.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.001931/0.3747, allocations: 1.082 MB / 1.368 GB, free: 6.082 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3748, allocations: 4 kB / 1.368 GB, free: 6.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.3748, allocations: 4 kB / 1.368 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.3748, allocations: 8.375 kB / 1.368 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006383/0.3754, allocations: 151.8 kB / 1.368 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.3754, allocations: 11.92 kB / 1.368 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.3769, allocations: 147.9 kB / 1.368 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.377, allocations: 32 kB / 1.368 GB, free: 5.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled,y1Pum.y[2],y1Pum.intTimTab.y[1],$PRE.y1Pum.intTimTab.y[1],y1Pum.intTimTab.y[2],$PRE.y1Pum.intTimTab.y[2],y1Pum.intTimTab.idx,$PRE.y1Pum.intTimTab.idx,ctlDpRem.repEna.y[2],ctlDpLoc.y1_actual[1],ctlDpLoc.repEna.y[2],$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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.0003438/0.3773, allocations: 253.9 kB / 1.369 GB, free: 5.477 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.3775, allocations: 107.3 kB / 1.369 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002318/0.3798, allocations: 1.105 MB / 1.37 GB, free: 4.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3798, allocations: 3.984 kB / 1.37 GB, free: 4.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3798, allocations: 4 kB / 1.37 GB, free: 4.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.3801, allocations: 127.2 kB / 1.37 GB, free: 4.125 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3803, allocations: 19.98 kB / 1.37 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.3807, allocations: 55.88 kB / 1.37 GB, free: 4.051 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3808, allocations: 56.55 kB / 1.37 GB, free: 3.996 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002369/0.3832, allocations: 1.153 MB / 1.371 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00322/0.3864, allocations: 1.871 MB / 1.373 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008588/0.3873, allocations: 476.9 kB / 1.373 GB, free: 492 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001202/0.3885, allocations: 0.7892 MB / 1.374 GB, free: 15.68 MB / 1.076 GB Notification: Performance of Backend: time 3.21e-07/0.3885, allocations: 0 / 1.374 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004566/0.3931, allocations: 1.562 MB / 1.376 GB, free: 14.34 MB / 1.076 GB Notification: Performance of SimCode: time 0.004323/0.3974, allocations: 2.787 MB / 1.378 GB, free: 11.5 MB / 1.076 GB Notification: Performance of Templates: time 0.03804/0.4354, allocations: 22.72 MB / 1.401 GB, free: 5.102 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Pumps_Generic_Validation_ControlDifferentialPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.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: 9.28027627699339]