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.001379/0.001379, allocations: 78.25 kB / 19.76 MB, free: 2.027 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.001507/0.001507, allocations: 159 kB / 23.01 MB, free: 4.949 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.819/2.819, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] 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.002157/0.002157, allocations: 70.08 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.282, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002108/1.284, allocations: 1.055 MB / 1.155 GB, free: 32.7 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00165/1.285, allocations: 1.55 MB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/1.285, allocations: 6.812 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/1.286, allocations: 34.28 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/1.286, allocations: 49.75 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009762/1.287, allocations: 495.4 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004278/1.287, allocations: 0.5624 MB / 1.158 GB, free: 30.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/1.287, allocations: 95.95 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/1.287, allocations: 226.9 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/1.288, allocations: 186.5 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.08e-05/1.288, allocations: 56.81 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/1.288, allocations: 67.56 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.251e-05/1.288, allocations: 86.06 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001711/1.288, allocations: 186.8 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000439/1.289, allocations: 0.5689 MB / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.289, allocations: 3.328 kB / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.412e-06/1.289, allocations: 4 kB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.311e-05/1.289, allocations: 0 / 1.159 GB, free: 30.39 MB / 1.076 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.0008211/1.289, allocations: 0.6405 MB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.289, allocations: 12.81 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.74e-05/1.289, allocations: 45.64 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/1.29, allocations: 244.2 kB / 1.16 GB, free: 29.65 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/1.29, allocations: 28.77 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/1.29, allocations: 44.84 kB / 1.16 GB, free: 29.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/1.29, allocations: 245.1 kB / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.29, allocations: 192 / 1.16 GB, free: 29.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/1.29, allocations: 22.06 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.29, allocations: 10 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/1.291, allocations: 163.4 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.292, allocations: 0.7311 MB / 1.161 GB, free: 29.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/1.292, allocations: 190.9 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/1.292, allocations: 76.97 kB / 1.161 GB, free: 28.89 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/1.292, allocations: 6.219 kB / 1.161 GB, free: 28.88 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/1.293, allocations: 253.2 kB / 1.162 GB, free: 28.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/1.293, allocations: 0 / 1.162 GB, free: 28.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0006437/1.293, allocations: 442.4 kB / 1.162 GB, free: 28.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/1.293, allocations: 64.33 kB / 1.162 GB, free: 28.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/1.293, allocations: 201 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/1.293, allocations: 48.89 kB / 1.162 GB, free: 28.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/1.293, allocations: 157.6 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/1.294, allocations: 76.33 kB / 1.163 GB, free: 28.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.294, allocations: 140 kB / 1.163 GB, free: 28.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/1.294, allocations: 338.9 kB / 1.163 GB, free: 27.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/1.294, allocations: 291.9 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/1.295, allocations: 374.7 kB / 1.164 GB, free: 27.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/1.295, allocations: 429.8 kB / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.295, allocations: 0 / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000867/1.296, allocations: 0.7517 MB / 1.165 GB, free: 26.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/1.296, allocations: 137.2 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.296, allocations: 6.062 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.296, allocations: 3.562 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/1.296, allocations: 20 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.296, allocations: 9.281 kB / 1.165 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/1.297, allocations: 127 kB / 1.165 GB, free: 26.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/1.297, allocations: 32.23 kB / 1.165 GB, free: 26.32 MB / 1.076 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.0001629/1.297, allocations: 177.8 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/1.297, allocations: 29.14 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/1.297, allocations: 24.66 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.297, allocations: 5.25 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.297, allocations: 4 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.297, allocations: 0 / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/1.298, allocations: 0.665 MB / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.298, allocations: 0 / 1.166 GB, free: 25.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/1.298, allocations: 19.19 kB / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.298, allocations: 0 / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.298, allocations: 12.48 kB / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/1.298, allocations: 0 / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/1.298, allocations: 2.375 kB / 1.166 GB, free: 25.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/1.298, allocations: 438.5 kB / 1.166 GB, free: 25.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/1.298, allocations: 24.14 kB / 1.166 GB, free: 25.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/1.298, allocations: 18.45 kB / 1.166 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/1.298, allocations: 12.78 kB / 1.166 GB, free: 25.47 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/1.298, allocations: 42.36 kB / 1.167 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/1.298, allocations: 18 kB / 1.167 GB, free: 25.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.382e-05/1.298, allocations: 129.2 kB / 1.167 GB, free: 25.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.298, allocations: 0 / 1.167 GB, free: 25.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003959/1.299, allocations: 114.8 kB / 1.167 GB, free: 25.34 MB / 1.076 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.0001722/1.299, allocations: 126.3 kB / 1.167 GB, free: 25.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007336/1.3, allocations: 0.6815 MB / 1.168 GB, free: 24.73 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.3, allocations: 192 / 1.168 GB, free: 24.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/1.3, allocations: 131 kB / 1.168 GB, free: 24.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/1.3, allocations: 57.53 kB / 1.168 GB, free: 24.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/1.301, allocations: 482.2 kB / 1.168 GB, free: 24.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/1.301, allocations: 152.3 kB / 1.168 GB, free: 24.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.739e-05/1.301, allocations: 29.59 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/1.301, allocations: 27.8 kB / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/1.301, allocations: 0 / 1.168 GB, free: 24.27 MB / 1.076 GB Notification: Performance of Templates: time 0.01024/1.312, allocations: 5.338 MB / 1.174 GB, free: 23.61 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.561579916975461]