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.001577/0.001577, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001753/0.001753, allocations: 219.3 kB / 23.01 MB, free: 4.566 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.263/3.263, allocations: 0.49 GB / 0.7958 GB, free: 33.58 MB / 0.6231 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.002118/0.002118, allocations: 69.12 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002659/0.4011, allocations: 1.116 MB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.4034, allocations: 1.576 MB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4035, allocations: 4 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.4036, allocations: 31.59 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.4037, allocations: 39.64 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.405, allocations: 0.5009 MB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006271/0.4056, allocations: 0.5577 MB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.4058, allocations: 105.5 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.4061, allocations: 235.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.4064, allocations: 211.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.4065, allocations: 56 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4066, allocations: 71.98 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.4067, allocations: 79.75 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.4069, allocations: 215.2 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.4076, allocations: 0.5723 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4076, allocations: 8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4076, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.4076, allocations: 0 / 1.332 GB, free: 12.11 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.001037/0.4086, allocations: 0.6402 MB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4087, allocations: 8.031 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.4088, allocations: 48.75 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.4092, allocations: 246.5 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.4093, allocations: 28.88 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.4093, allocations: 48.36 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.4098, allocations: 244.6 kB / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4098, allocations: 192 / 1.334 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.4098, allocations: 19.92 kB / 1.334 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.4098, allocations: 4 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.4101, allocations: 161.9 kB / 1.334 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.4116, allocations: 0.884 MB / 1.335 GB, free: 9.664 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.4121, allocations: 198.6 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.4122, allocations: 76.81 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.4122, allocations: 0 / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.4126, allocations: 265.2 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.4126, allocations: 7.938 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008031/0.4134, allocations: 442.8 kB / 1.336 GB, free: 8.664 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.4135, allocations: 55.41 kB / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.4137, allocations: 218.5 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.483e-05/0.4138, allocations: 45.7 kB / 1.336 GB, free: 8.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4139, allocations: 156.8 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.414, allocations: 75.47 kB / 1.336 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.4142, allocations: 134 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4144, allocations: 334.8 kB / 1.337 GB, free: 7.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.4147, allocations: 164.7 kB / 1.337 GB, free: 7.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.4151, allocations: 261.5 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005503/0.4157, allocations: 415.9 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4157, allocations: 0 / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001053/0.4167, allocations: 0.634 MB / 1.338 GB, free: 6.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.4168, allocations: 134.8 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4168, allocations: 4 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4169, allocations: 4 kB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.4169, allocations: 23.92 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.417, allocations: 4 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006263/0.4176, allocations: 127.9 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/0.4176, allocations: 31.98 kB / 1.338 GB, free: 5.68 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.0002221/0.4179, allocations: 177.7 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.4179, allocations: 27.8 kB / 1.338 GB, free: 5.469 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.418, allocations: 26.64 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.418, allocations: 4 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.418, allocations: 0 / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.418, allocations: 0 / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.419, allocations: 0.7399 MB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.419, allocations: 4 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.4191, allocations: 7.984 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.4191, allocations: 8 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4191, allocations: 11.98 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4191, allocations: 0 / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4191, allocations: 3.938 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.4197, allocations: 429.9 kB / 1.34 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.4197, allocations: 23.8 kB / 1.34 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.4198, allocations: 11.98 kB / 1.34 GB, free: 4.141 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4199, allocations: 11.98 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.42, allocations: 39.94 kB / 1.34 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.42, allocations: 19.98 kB / 1.34 GB, free: 4.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001103/0.4201, allocations: 132.3 kB / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4201, allocations: 96 / 1.34 GB, free: 3.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004109/0.4205, allocations: 111.8 kB / 1.34 GB, free: 3.832 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.0002034/0.4207, allocations: 133.7 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008492/0.4216, allocations: 0.5714 MB / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4216, allocations: 0 / 1.341 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4218, allocations: 127.8 kB / 1.341 GB, free: 2.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.4222, allocations: 54.7 kB / 1.341 GB, free: 2.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.4231, allocations: 0.5103 MB / 1.341 GB, free: 2.348 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.4235, allocations: 0.7603 MB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.4236, allocations: 23.44 kB / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4236, allocations: 0 / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of Templates: time 0.007422/0.431, allocations: 4.166 MB / 1.346 GB, free: 13.39 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.697968288994161]