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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 106.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002385/0.002385, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 489.7 MB / 0.7761 GB, free: 33.69 MB / 0.6231 GB [Timeout remaining time 87] 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=532,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=532,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.001878/0.001878, allocations: 67.58 kB / 1.127 GB, free: 36.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3319, allocations: 172.1 MB / 1.295 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002553/0.3345, allocations: 1.117 MB / 1.296 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3366, allocations: 1.537 MB / 1.297 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3367, allocations: 11.88 kB / 1.297 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.3369, allocations: 35.59 kB / 1.297 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.337, allocations: 35.66 kB / 1.298 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.3382, allocations: 0.4932 MB / 1.298 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005896/0.3388, allocations: 0.5577 MB / 1.299 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.339, allocations: 100.5 kB / 1.299 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3392, allocations: 223.5 kB / 1.299 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.3395, allocations: 223.2 kB / 1.299 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.177e-05/0.3396, allocations: 60 kB / 1.299 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.3397, allocations: 67.98 kB / 1.299 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.3398, allocations: 75.83 kB / 1.299 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.34, allocations: 215.2 kB / 1.299 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.3407, allocations: 0.5761 MB / 1.3 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3407, allocations: 0 / 1.3 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3407, allocations: 0 / 1.3 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3407, allocations: 0 / 1.3 GB, free: 6.453 MB / 0.9981 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.001104/0.3418, allocations: 0.7141 MB / 1.301 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3418, allocations: 8.031 kB / 1.301 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3419, allocations: 52.67 kB / 1.301 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.3424, allocations: 313 kB / 1.301 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.3424, allocations: 32.88 kB / 1.301 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/0.3425, allocations: 44.36 kB / 1.301 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.343, allocations: 249.3 kB / 1.301 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.343, allocations: 4.172 kB / 1.301 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.343, allocations: 19.92 kB / 1.301 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.343, allocations: 8 kB / 1.301 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.3433, allocations: 162.2 kB / 1.302 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.3448, allocations: 0.9191 MB / 1.302 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.3453, allocations: 190.7 kB / 1.303 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.3454, allocations: 80.77 kB / 1.303 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3454, allocations: 0 / 1.303 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.3458, allocations: 257.8 kB / 1.303 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.813e-06/0.3458, allocations: 4 kB / 1.303 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008189/0.3467, allocations: 438.8 kB / 1.303 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3467, allocations: 63.41 kB / 1.303 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3469, allocations: 202.6 kB / 1.304 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/0.347, allocations: 49.7 kB / 1.304 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.3471, allocations: 148.8 kB / 1.304 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.3472, allocations: 83.41 kB / 1.304 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.3474, allocations: 134 kB / 1.304 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3476, allocations: 334.8 kB / 1.304 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.3479, allocations: 164.7 kB / 1.305 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.3484, allocations: 257.6 kB / 1.305 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005591/0.3489, allocations: 426.6 kB / 1.305 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3489, allocations: 4 kB / 1.305 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001067/0.35, allocations: 0.6233 MB / 1.306 GB, free: 168 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.3501, allocations: 134.8 kB / 1.306 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3501, allocations: 4 kB / 1.306 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3501, allocations: 4 kB / 1.306 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3502, allocations: 27.94 kB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3503, allocations: 4.281 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.3509, allocations: 131.6 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.351, allocations: 31.98 kB / 1.306 GB, free: 15.8 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.0002142/0.3512, allocations: 177.8 kB / 1.306 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3512, allocations: 27.8 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.3513, allocations: 22.66 kB / 1.306 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3513, allocations: 11.92 kB / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3513, allocations: 0 / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3513, allocations: 0 / 1.306 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3523, allocations: 0.7691 MB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3523, allocations: 4 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.3524, allocations: 16.02 kB / 1.307 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3524, allocations: 7.938 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.3524, allocations: 11.98 kB / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3524, allocations: 0 / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3524, allocations: 0 / 1.307 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.353, allocations: 432.5 kB / 1.308 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.3531, allocations: 104.9 kB / 1.308 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.3531, allocations: 12 kB / 1.308 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3532, allocations: 11.98 kB / 1.308 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.3533, allocations: 35.95 kB / 1.308 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.475e-05/0.3534, allocations: 19.98 kB / 1.308 GB, free: 14.06 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001074/0.3535, allocations: 128.3 kB / 1.308 GB, free: 13.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3535, allocations: 0 / 1.308 GB, free: 13.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004286/0.3539, allocations: 111.8 kB / 1.308 GB, free: 13.83 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.0002022/0.3541, allocations: 129.4 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008842/0.355, allocations: 0.5676 MB / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.355, allocations: 0 / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.3552, allocations: 127.8 kB / 1.309 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3556, allocations: 52.67 kB / 1.309 GB, free: 12.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.3566, allocations: 0.5079 MB / 1.309 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.357, allocations: 0.7603 MB / 1.31 GB, free: 11.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.357, allocations: 27.44 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.357, allocations: 4.125 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of Templates: time 0.007328/0.3644, allocations: 4.161 MB / 1.314 GB, free: 7.398 MB / 1.014 GB [Timeout remaining time 300] 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/jenkins1/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