Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 185.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.924/2.924, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y|y1EquLea.y|y1EquLea_actual.y|y1ReqEquLea.y|enaDed.y1|enaDedReq.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 67.89 kB / 1.138 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3338, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.00251/0.3363, allocations: 1.125 MB / 1.308 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3385, allocations: 1.537 MB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3386, allocations: 4 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.3388, allocations: 39.53 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3389, allocations: 47.58 kB / 1.31 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.34, allocations: 0.4958 MB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006081/0.3407, allocations: 0.5577 MB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.3409, allocations: 104.9 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.3411, allocations: 227.5 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.3414, allocations: 219.2 kB / 1.312 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.973e-05/0.3415, allocations: 60 kB / 1.312 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3416, allocations: 71.98 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.3417, allocations: 79.81 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.3419, allocations: 215.2 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006475/0.3426, allocations: 0.5723 MB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3426, allocations: 0 / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3426, allocations: 4 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3426, allocations: 0 / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001049/0.3437, allocations: 0.6385 MB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3437, allocations: 12.92 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.3438, allocations: 44.73 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.3442, allocations: 243.9 kB / 1.313 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.3443, allocations: 32.8 kB / 1.313 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.72e-05/0.3443, allocations: 44.38 kB / 1.313 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.3448, allocations: 248.5 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3448, allocations: 192 / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.3448, allocations: 19.92 kB / 1.314 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3449, allocations: 4 kB / 1.314 GB, free: 11.1 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.3452, allocations: 165.9 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.3467, allocations: 0.884 MB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.3472, allocations: 198.7 kB / 1.315 GB, free: 9.805 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.3473, allocations: 72.81 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3473, allocations: 7.938 kB / 1.315 GB, free: 9.723 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/0.3478, allocations: 253.8 kB / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.3478, allocations: 0 / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0008442/0.3486, allocations: 447.4 kB / 1.316 GB, free: 9.02 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.3487, allocations: 67.33 kB / 1.316 GB, free: 8.941 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3489, allocations: 214.5 kB / 1.316 GB, free: 8.719 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.349, allocations: 45.7 kB / 1.316 GB, free: 8.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.3491, allocations: 152.8 kB / 1.316 GB, free: 8.516 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.3492, allocations: 79.44 kB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.3494, allocations: 130 kB / 1.316 GB, free: 8.301 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3496, allocations: 338.8 kB / 1.317 GB, free: 7.961 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.35, allocations: 168.7 kB / 1.317 GB, free: 7.797 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.3504, allocations: 253.6 kB / 1.317 GB, free: 7.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.3509, allocations: 422.9 kB / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3509, allocations: 0 / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001068/0.352, allocations: 0.6286 MB / 1.318 GB, free: 6.383 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.3521, allocations: 130.8 kB / 1.318 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3521, allocations: 0 / 1.318 GB, free: 6.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3522, allocations: 8.281 kB / 1.318 GB, free: 6.223 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.063e-05/0.3523, allocations: 27.86 kB / 1.318 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3523, allocations: 4 kB / 1.318 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.3529, allocations: 127.6 kB / 1.318 GB, free: 6.066 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.3529, allocations: 35.98 kB / 1.318 GB, free: 6.031 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition14,$whenCondition15,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDedReq.ini.y,enaDedReq.lat.y,enaDed.ini.y,enaDed.lat.y,y1.y,$PRE.y1.y,$whenCondition10,$whenCondition11,$whenCondition13,y1EquLea.y,$PRE.y1EquLea.y,y1ReqEquLea.y,$PRE.y1ReqEquLea.y,enaDedReq.edg.y,enaDedReq.edg.u,$PRE.enaDedReq.edg.u,enaDedReq.timOff.passed,$PRE.enaDedReq.timOff.passed,enaDedReq.offOrNotReq.y,enaDed.edg.y,enaDed.edg.u,$PRE.enaDed.edg.u,enaDed.timOff.passed,$PRE.enaDed.timOff.passed,y1EquLea_actual.y,$PRE.y1EquLea_actual.y,enaDedReq.timOff.entryTime,$PRE.enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,$PRE.enaDed.timOff.entryTime,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition12,enaDed.fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0002793/0.3532, allocations: 173.7 kB / 1.319 GB, free: 5.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.3532, allocations: 27.8 kB / 1.319 GB, free: 5.824 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.972e-05/0.3533, allocations: 26.64 kB / 1.319 GB, free: 5.797 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3533, allocations: 4 kB / 1.319 GB, free: 5.793 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3533, allocations: 4 kB / 1.319 GB, free: 5.789 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3533, allocations: 7.938 kB / 1.319 GB, free: 5.781 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3544, allocations: 0.7282 MB / 1.319 GB, free: 5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3544, allocations: 3.938 kB / 1.319 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.3544, allocations: 15.98 kB / 1.319 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3544, allocations: 0 / 1.319 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3544, allocations: 15.92 kB / 1.319 GB, free: 4.965 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3544, allocations: 4 kB / 1.319 GB, free: 4.961 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3544, allocations: 0 / 1.319 GB, free: 4.961 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.355, allocations: 437.8 kB / 1.32 GB, free: 4.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.355, allocations: 35.78 kB / 1.32 GB, free: 4.484 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.3551, allocations: 8 kB / 1.32 GB, free: 4.477 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3552, allocations: 11.98 kB / 1.32 GB, free: 4.465 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.3553, allocations: 39.92 kB / 1.32 GB, free: 4.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.3553, allocations: 19.98 kB / 1.32 GB, free: 4.406 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001158/0.3554, allocations: 128.3 kB / 1.32 GB, free: 4.281 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3554, allocations: 0 / 1.32 GB, free: 4.281 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000387/0.3558, allocations: 103.9 kB / 1.32 GB, free: 4.18 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (enaDed.ini.y,enaDedReq.ini.y,$whenCondition14,$whenCondition15,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1.y,enaDed.lat.y,enaDed.timOff.passed,enaDed.timOff.entryTime,enaDed.edg.u,enaDed.edg.y,enaDedReq.lat.y,enaDedReq.offOrNotReq.y,enaDedReq.timOff.passed,enaDedReq.timOff.entryTime,enaDedReq.edg.u,enaDedReq.edg.y,y1ReqEquLea.y,y1EquLea.y,y1EquLea_actual.y) * Number of discrete states: 4 (enaDedReq.timOff.entryTime,enaDed.timOff.entryTime,enaDedReq.edg.u,enaDed.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002233/0.356, allocations: 142.5 kB / 1.32 GB, free: 4.035 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009001/0.3569, allocations: 0.5636 MB / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3569, allocations: 0 / 1.321 GB, free: 3.422 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002073/0.3571, allocations: 124.4 kB / 1.321 GB, free: 3.301 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3575, allocations: 47.95 kB / 1.321 GB, free: 3.254 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.3585, allocations: 476.9 kB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.3589, allocations: 0.7603 MB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.034e-05/0.359, allocations: 26.3 kB / 1.322 GB, free: 1.945 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.3591, allocations: 31.42 kB / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.3591, allocations: 0 / 1.322 GB, free: 1.914 MB / 1.014 GB Notification: Performance of Templates: time 0.01025/0.3693, allocations: 5.042 MB / 1.327 GB, free: 12.93 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.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.32148696668446]