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.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.001667/0.001667, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.002107/0.002107, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.073/3.073, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.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: 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.002066/0.002066, allocations: 68.39 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3483, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002558/0.3508, allocations: 1.057 MB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.353, allocations: 1.552 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3531, allocations: 8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.3533, allocations: 35.61 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.3534, allocations: 39.64 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3545, allocations: 0.4889 MB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006021/0.3551, allocations: 0.5577 MB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.3554, allocations: 105.5 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.3556, allocations: 223.5 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3559, allocations: 191.2 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.356, allocations: 60 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3561, allocations: 71.98 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.3562, allocations: 71.81 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3564, allocations: 187.4 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.357, allocations: 0.5801 MB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.357, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.983e-06/0.357, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.357, allocations: 4 kB / 1.332 GB, free: 11.75 MB / 1.029 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.001047/0.3581, allocations: 0.6464 MB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3581, allocations: 8.031 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3582, allocations: 40.75 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.3587, allocations: 250.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.3587, allocations: 28.86 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.3588, allocations: 48.36 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.3592, allocations: 244.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3593, allocations: 192 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.3593, allocations: 19.88 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3593, allocations: 8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.3596, allocations: 161.9 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3609, allocations: 0.7247 MB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.3614, allocations: 202.6 kB / 1.335 GB, free: 9.262 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.3615, allocations: 72.83 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3615, allocations: 8 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004018/0.3619, allocations: 253.3 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.3619, allocations: 0 / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008041/0.3628, allocations: 446.8 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.3628, allocations: 63.41 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.363, allocations: 206.6 kB / 1.336 GB, free: 8.188 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.3631, allocations: 45.7 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3632, allocations: 156.8 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.3633, allocations: 83.47 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.3635, allocations: 130 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.3637, allocations: 338.8 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004171/0.3641, allocations: 283.5 kB / 1.337 GB, free: 7.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.3646, allocations: 384.2 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.3651, allocations: 423.8 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3652, allocations: 0 / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001135/0.3663, allocations: 0.7465 MB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.3664, allocations: 134.7 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3664, allocations: 4.281 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3664, allocations: 8 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.3665, allocations: 19.92 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3665, allocations: 4 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.3672, allocations: 131.6 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.3672, allocations: 35.98 kB / 1.338 GB, free: 5.051 MB / 1.029 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.0002159/0.3675, allocations: 173.7 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.3675, allocations: 27.8 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.3676, allocations: 26.66 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3676, allocations: 7.984 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3676, allocations: 0 / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.3676, allocations: 3.984 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009816/0.3686, allocations: 0.678 MB / 1.339 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.3686, allocations: 0 / 1.339 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.412e-05/0.3686, allocations: 8 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3686, allocations: 0 / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3686, allocations: 11.98 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3686, allocations: 0 / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3686, allocations: 4.078 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006501/0.3693, allocations: 449.8 kB / 1.34 GB, free: 3.613 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.3693, allocations: 23.8 kB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.3694, allocations: 11.98 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3695, allocations: 15.98 kB / 1.34 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3696, allocations: 35.94 kB / 1.34 GB, free: 3.527 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.3696, allocations: 19.98 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001057/0.3697, allocations: 128.3 kB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3697, allocations: 0 / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004091/0.3701, allocations: 111.8 kB / 1.34 GB, free: 3.273 MB / 1.029 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.0001872/0.3703, allocations: 129.7 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009134/0.3712, allocations: 0.6875 MB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3712, allocations: 0 / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3715, allocations: 119.8 kB / 1.341 GB, free: 2.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.3719, allocations: 51.3 kB / 1.341 GB, free: 2.211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.3728, allocations: 0.5064 MB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.3729, allocations: 151.5 kB / 1.342 GB, free: 1.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.373, allocations: 31.44 kB / 1.342 GB, free: 1.469 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.373, allocations: 3.938 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of Templates: time 0.007246/0.3802, allocations: 4.21 MB / 1.346 GB, free: 13.28 MB / 1.045 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/jenkins1/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: 11.300427093170583]