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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 106.2 kB / 15.78 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 185.9 kB / 16.72 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 243.1 MB, free: 3.676 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 489.3 MB / 0.7669 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.89 kB / 1.115 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 172 MB / 1.283 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002774/1.085, allocations: 1.118 MB / 1.284 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0025/1.087, allocations: 1.53 MB / 1.285 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/1.087, allocations: 4.219 kB / 1.285 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/1.088, allocations: 38.17 kB / 1.285 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/1.088, allocations: 39.47 kB / 1.285 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/1.089, allocations: 0.4884 MB / 1.286 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007068/1.09, allocations: 0.5543 MB / 1.286 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/1.09, allocations: 108.9 kB / 1.286 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/1.09, allocations: 223.1 kB / 1.287 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/1.091, allocations: 221.8 kB / 1.287 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.692e-05/1.091, allocations: 57.31 kB / 1.287 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/1.091, allocations: 76.48 kB / 1.287 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.653e-05/1.091, allocations: 77.52 kB / 1.287 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002811/1.091, allocations: 212.8 kB / 1.287 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007763/1.092, allocations: 0.5779 MB / 1.288 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/1.092, allocations: 0 / 1.288 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.492e-06/1.092, allocations: 0 / 1.288 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.787e-05/1.092, allocations: 2.109 kB / 1.288 GB, free: 2.258 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.001157/1.093, allocations: 0.7138 MB / 1.289 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.093, allocations: 9.406 kB / 1.289 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/1.093, allocations: 44.64 kB / 1.289 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/1.094, allocations: 309.4 kB / 1.289 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/1.094, allocations: 34.42 kB / 1.289 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.848e-05/1.094, allocations: 43.84 kB / 1.289 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/1.095, allocations: 250.4 kB / 1.289 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.095, allocations: 0.75 kB / 1.289 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/1.095, allocations: 18.09 kB / 1.289 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.095, allocations: 5.844 kB / 1.289 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/1.095, allocations: 161.6 kB / 1.289 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/1.097, allocations: 0.926 MB / 1.29 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/1.097, allocations: 192.6 kB / 1.29 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/1.097, allocations: 71.09 kB / 1.291 GB, free: 496 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/1.097, allocations: 5.906 kB / 1.291 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004234/1.098, allocations: 254.1 kB / 1.291 GB, free: 380 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/1.098, allocations: 3.938 kB / 1.291 GB, free: 376 kB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0008334/1.098, allocations: 439.7 kB / 1.291 GB, free: 212 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.099, allocations: 62.8 kB / 1.291 GB, free: 144 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/1.099, allocations: 206 kB / 1.291 GB, free: 15.99 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/1.099, allocations: 53.81 kB / 1.291 GB, free: 15.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/1.099, allocations: 145.8 kB / 1.292 GB, free: 15.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/1.099, allocations: 84.03 kB / 1.292 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.099, allocations: 136.2 kB / 1.292 GB, free: 15.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.1, allocations: 331.2 kB / 1.292 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/1.1, allocations: 166.7 kB / 1.292 GB, free: 15.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004556/1.1, allocations: 257.8 kB / 1.293 GB, free: 15.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/1.101, allocations: 418.1 kB / 1.293 GB, free: 14.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.101, allocations: 1.875 kB / 1.293 GB, free: 14.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001173/1.102, allocations: 0.6366 MB / 1.294 GB, free: 14.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.102, allocations: 132.7 kB / 1.294 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.102, allocations: 10.97 kB / 1.294 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.102, allocations: 4.219 kB / 1.294 GB, free: 14.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/1.102, allocations: 23.8 kB / 1.294 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.102, allocations: 5.047 kB / 1.294 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/1.103, allocations: 125.8 kB / 1.294 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/1.103, allocations: 32.44 kB / 1.294 GB, free: 14.32 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.0003563/1.103, allocations: 182.6 kB / 1.294 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/1.103, allocations: 29.17 kB / 1.294 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/1.104, allocations: 23.45 kB / 1.294 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.104, allocations: 4.906 kB / 1.294 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.104, allocations: 0 / 1.294 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.104, allocations: 2.594 kB / 1.294 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/1.105, allocations: 0.7625 MB / 1.295 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.105, allocations: 0 / 1.295 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/1.105, allocations: 20.31 kB / 1.295 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.105, allocations: 1.375 kB / 1.295 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/1.105, allocations: 11.34 kB / 1.295 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.105, allocations: 1.469 kB / 1.295 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.105, allocations: 2.422 kB / 1.295 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/1.105, allocations: 434.7 kB / 1.295 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/1.106, allocations: 99.48 kB / 1.295 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/1.106, allocations: 11.84 kB / 1.295 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/1.106, allocations: 16.69 kB / 1.295 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/1.106, allocations: 34.72 kB / 1.295 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/1.106, allocations: 19.61 kB / 1.296 GB, free: 13.28 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001121/1.106, allocations: 132.2 kB / 1.296 GB, free: 13.19 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.106, allocations: 0 / 1.296 GB, free: 13.19 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004495/1.106, allocations: 111.3 kB / 1.296 GB, free: 13.16 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.0002153/1.107, allocations: 138.5 kB / 1.296 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009618/1.108, allocations: 0.5623 MB / 1.296 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.108, allocations: 3.938 kB / 1.296 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003654/1.108, allocations: 128.7 kB / 1.297 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/1.108, allocations: 52.78 kB / 1.297 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/1.11, allocations: 483.1 kB / 1.297 GB, free: 12.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/1.11, allocations: 0.7593 MB / 1.298 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001156/1.11, allocations: 25.75 kB / 1.298 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/1.11, allocations: 25.2 kB / 1.298 GB, free: 11.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/1.11, allocations: 0 / 1.298 GB, free: 11.61 MB / 1.014 GB Notification: Performance of Templates: time 0.01366/1.124, allocations: 4.912 MB / 1.303 GB, free: 10.84 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated.pipe 2>&1) 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) Reference file matches