Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001583/0.001583, allocations: 110.5 kB / 17.6 MB, free: 4.703 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.001618/0.001618, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.53/1.53, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 68.03 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.183, allocations: 173.7 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002307/1.186, allocations: 1.117 MB / 1.307 GB, free: 32.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001848/1.188, allocations: 1.54 MB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/1.188, allocations: 3.188 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001788/1.188, allocations: 34.14 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/1.188, allocations: 48.02 kB / 1.308 GB, free: 31.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/1.189, allocations: 0.4884 MB / 1.309 GB, free: 31.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004427/1.189, allocations: 0.5638 MB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/1.19, allocations: 99.36 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/1.19, allocations: 223.5 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002261/1.19, allocations: 219.6 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/1.19, allocations: 59.5 kB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/1.19, allocations: 70.08 kB / 1.31 GB, free: 30.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/1.19, allocations: 75.52 kB / 1.31 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001762/1.19, allocations: 218.3 kB / 1.31 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004774/1.191, allocations: 0.577 MB / 1.311 GB, free: 30.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.191, allocations: 0 / 1.311 GB, free: 30.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.191, allocations: 0 / 1.311 GB, free: 30.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.49e-05/1.191, allocations: 3.938 kB / 1.311 GB, free: 30.34 MB / 1.061 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.0008903/1.192, allocations: 0.7177 MB / 1.311 GB, free: 29.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.192, allocations: 18.83 kB / 1.311 GB, free: 29.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/1.192, allocations: 40.97 kB / 1.311 GB, free: 29.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/1.192, allocations: 306.7 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/1.192, allocations: 30.44 kB / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/1.193, allocations: 41.66 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003755/1.193, allocations: 255.7 kB / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.193, allocations: 192 / 1.312 GB, free: 29.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/1.193, allocations: 14.97 kB / 1.312 GB, free: 29.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/1.193, allocations: 5.75 kB / 1.312 GB, free: 29.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/1.193, allocations: 162.1 kB / 1.312 GB, free: 29.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/1.194, allocations: 0.9278 MB / 1.313 GB, free: 28.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004053/1.195, allocations: 197 kB / 1.313 GB, free: 28.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/1.195, allocations: 76.77 kB / 1.313 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/1.195, allocations: 2.625 kB / 1.313 GB, free: 28.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003359/1.195, allocations: 249.6 kB / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/1.195, allocations: 0 / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=34): time 0.0007146/1.196, allocations: 436.3 kB / 1.314 GB, free: 28.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.196, allocations: 74.62 kB / 1.314 GB, free: 28.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.196, allocations: 209.8 kB / 1.314 GB, free: 28.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/1.196, allocations: 44.05 kB / 1.314 GB, free: 28.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/1.196, allocations: 150.3 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/1.196, allocations: 80.31 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/1.197, allocations: 136.7 kB / 1.315 GB, free: 27.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/1.197, allocations: 330.5 kB / 1.315 GB, free: 27.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/1.197, allocations: 165.7 kB / 1.315 GB, free: 27.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/1.197, allocations: 261.9 kB / 1.315 GB, free: 27.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/1.198, allocations: 413.1 kB / 1.316 GB, free: 26.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.198, allocations: 6.688 kB / 1.316 GB, free: 26.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008674/1.198, allocations: 0.6314 MB / 1.316 GB, free: 26.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/1.199, allocations: 132.5 kB / 1.316 GB, free: 26.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.199, allocations: 2.844 kB / 1.316 GB, free: 26.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.199, allocations: 5.219 kB / 1.317 GB, free: 26.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/1.199, allocations: 21.3 kB / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.199, allocations: 6.688 kB / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/1.199, allocations: 124 kB / 1.317 GB, free: 26.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.929e-05/1.199, allocations: 37.05 kB / 1.317 GB, free: 26.42 MB / 1.061 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.0001798/1.2, allocations: 179.7 kB / 1.317 GB, free: 26.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/1.2, allocations: 26.17 kB / 1.317 GB, free: 26.25 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.27e-05/1.2, allocations: 26.75 kB / 1.317 GB, free: 26.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.2, allocations: 6.312 kB / 1.317 GB, free: 26.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.2, allocations: 0 / 1.317 GB, free: 26.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.2, allocations: 2.844 kB / 1.317 GB, free: 26.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/1.2, allocations: 0.7721 MB / 1.318 GB, free: 25.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.2, allocations: 0 / 1.318 GB, free: 25.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/1.201, allocations: 15.81 kB / 1.318 GB, free: 25.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.201, allocations: 0 / 1.318 GB, free: 25.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/1.201, allocations: 12.53 kB / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.201, allocations: 3.984 kB / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.201, allocations: 0 / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/1.201, allocations: 443.4 kB / 1.318 GB, free: 25.49 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/1.201, allocations: 102.2 kB / 1.318 GB, free: 25.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.562e-05/1.201, allocations: 12.53 kB / 1.318 GB, free: 25.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.201, allocations: 12.48 kB / 1.318 GB, free: 25.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/1.201, allocations: 34.53 kB / 1.318 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.201, allocations: 20.59 kB / 1.318 GB, free: 25.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.869e-05/1.201, allocations: 127.8 kB / 1.318 GB, free: 25.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.201, allocations: 0 / 1.318 GB, free: 25.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004064/1.202, allocations: 107.8 kB / 1.319 GB, free: 25.25 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: 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.0001741/1.202, allocations: 133 kB / 1.319 GB, free: 25.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007183/1.203, allocations: 0.5606 MB / 1.319 GB, free: 24.78 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.203, allocations: 0 / 1.319 GB, free: 24.78 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/1.203, allocations: 132.2 kB / 1.319 GB, free: 24.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/1.203, allocations: 48.48 kB / 1.319 GB, free: 24.71 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/1.204, allocations: 495.6 kB / 1.32 GB, free: 24.42 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/1.204, allocations: 0.7584 MB / 1.321 GB, free: 23.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.439e-05/1.204, allocations: 29.23 kB / 1.321 GB, free: 23.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/1.204, allocations: 27.45 kB / 1.321 GB, free: 23.7 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.204, allocations: 0 / 1.321 GB, free: 23.7 MB / 1.061 GB Notification: Performance of Templates: time 0.01154/1.216, allocations: 4.964 MB / 1.325 GB, free: 23.28 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Pumps_Primary_Validation_DisableDedicated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.077773658558726]