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.001625/0.001625, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.00189/0.00189, allocations: 200.3 kB / 22.17 MB, free: 5.203 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.309/1.309, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 179] 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.866/2.866, allocations: 497.2 MB / 0.7845 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] 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.001833/0.001833, allocations: 73.19 kB / 1.139 GB, free: 33.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3018, allocations: 173.9 MB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002318/0.3041, allocations: 1.096 MB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.3061, allocations: 1.548 MB / 1.312 GB, free: 13.31 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3062, allocations: 4 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.3063, allocations: 39.47 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3064, allocations: 47.58 kB / 1.312 GB, free: 13.22 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3075, allocations: 0.4888 MB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000553/0.3081, allocations: 0.5538 MB / 1.313 GB, free: 12.19 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.3083, allocations: 100.6 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3085, allocations: 227.5 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.3088, allocations: 215.2 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.048e-05/0.3089, allocations: 60 kB / 1.314 GB, free: 11.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.309, allocations: 71.98 kB / 1.314 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.309, allocations: 83.73 kB / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.3092, allocations: 207.2 kB / 1.314 GB, free: 11.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006048/0.3099, allocations: 0.58 MB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3099, allocations: 0 / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3099, allocations: 0 / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3099, allocations: 0 / 1.314 GB, free: 10.66 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.001007/0.3109, allocations: 0.7141 MB / 1.315 GB, free: 9.863 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3109, allocations: 8.922 kB / 1.315 GB, free: 9.855 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.311, allocations: 44.78 kB / 1.315 GB, free: 9.812 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.3114, allocations: 312.3 kB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.3115, allocations: 36.94 kB / 1.316 GB, free: 9.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.863e-05/0.3116, allocations: 44.36 kB / 1.316 GB, free: 9.387 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.312, allocations: 249.3 kB / 1.316 GB, free: 9.137 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.312, allocations: 192 / 1.316 GB, free: 9.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.312, allocations: 15.92 kB / 1.316 GB, free: 9.121 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.312, allocations: 8 kB / 1.316 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.3123, allocations: 170.1 kB / 1.316 GB, free: 8.949 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.3136, allocations: 0.9191 MB / 1.317 GB, free: 7.973 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.3141, allocations: 202.6 kB / 1.317 GB, free: 7.766 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3142, allocations: 76.81 kB / 1.317 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3142, allocations: 0 / 1.317 GB, free: 7.688 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.3146, allocations: 261.2 kB / 1.317 GB, free: 7.418 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.3146, allocations: 0 / 1.317 GB, free: 7.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0007586/0.3153, allocations: 434.9 kB / 1.318 GB, free: 6.988 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3154, allocations: 63.39 kB / 1.318 GB, free: 6.914 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.3156, allocations: 206.5 kB / 1.318 GB, free: 6.699 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.717e-05/0.3156, allocations: 49.7 kB / 1.318 GB, free: 6.645 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.3158, allocations: 152.8 kB / 1.318 GB, free: 6.492 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.3158, allocations: 79.41 kB / 1.318 GB, free: 6.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.316, allocations: 134 kB / 1.318 GB, free: 6.273 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3162, allocations: 338.8 kB / 1.319 GB, free: 5.934 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.3165, allocations: 160.7 kB / 1.319 GB, free: 5.777 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.3169, allocations: 261.5 kB / 1.319 GB, free: 5.488 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.3174, allocations: 414.4 kB / 1.32 GB, free: 5.023 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3174, allocations: 3.938 kB / 1.32 GB, free: 5.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009994/0.3184, allocations: 0.6331 MB / 1.32 GB, free: 4.359 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3185, allocations: 134.8 kB / 1.32 GB, free: 4.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3185, allocations: 4 kB / 1.32 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3185, allocations: 4 kB / 1.32 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.3186, allocations: 23.92 kB / 1.32 GB, free: 4.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.3186, allocations: 7.938 kB / 1.32 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006406/0.3193, allocations: 127.9 kB / 1.32 GB, free: 4.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.3193, allocations: 35.98 kB / 1.321 GB, free: 4.004 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.0002059/0.3195, allocations: 170.8 kB / 1.321 GB, free: 3.832 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.3196, allocations: 27.8 kB / 1.321 GB, free: 3.805 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.3196, allocations: 30.64 kB / 1.321 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3196, allocations: 4 kB / 1.321 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3196, allocations: 0 / 1.321 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3196, allocations: 0 / 1.321 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.3206, allocations: 0.7641 MB / 1.321 GB, free: 2.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3206, allocations: 4 kB / 1.321 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.567e-05/0.3206, allocations: 11.92 kB / 1.322 GB, free: 2.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3207, allocations: 11.94 kB / 1.322 GB, free: 2.922 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.3207, allocations: 12.08 kB / 1.322 GB, free: 2.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3207, allocations: 7.938 kB / 1.322 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3207, allocations: 0 / 1.322 GB, free: 2.902 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005133/0.3212, allocations: 437.6 kB / 1.322 GB, free: 2.461 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.3213, allocations: 100.9 kB / 1.322 GB, free: 2.344 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.3213, allocations: 12 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3214, allocations: 15.98 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.123e-05/0.3215, allocations: 31.95 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/0.3215, allocations: 19.98 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001013/0.3216, allocations: 131.2 kB / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3216, allocations: 0 / 1.322 GB, free: 2.137 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003744/0.322, allocations: 111.8 kB / 1.322 GB, free: 2.027 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.0001659/0.3222, allocations: 129.5 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008019/0.323, allocations: 0.5675 MB / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.323, allocations: 0 / 1.323 GB, free: 1.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.3232, allocations: 127.8 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3236, allocations: 48.52 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.3243, allocations: 486.4 kB / 1.324 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3247, allocations: 0.7603 MB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.804e-05/0.3248, allocations: 26.28 kB / 1.324 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.3248, allocations: 27.44 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of SimCode: time 4.6e-07/0.3248, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of Templates: time 0.009209/0.334, allocations: 4.987 MB / 1.329 GB, free: 10.82 MB / 1.029 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=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) [Timeout 800] 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_2/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: 7.8965562409721315]