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.001475/0.001475, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001772/0.001772, allocations: 188.7 kB / 22.22 MB, free: 5.102 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.353/1.353, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.95/2.95, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001869/0.001869, allocations: 66.52 kB / 1.145 GB, free: 30.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 174.9 MB / 1.316 GB, free: 9.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.DisableDedicated): time 0.002336/0.3219, allocations: 1.116 MB / 1.317 GB, free: 8.719 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.3238, allocations: 1.54 MB / 1.319 GB, free: 7.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.584e-05/0.3239, allocations: 7.938 kB / 1.319 GB, free: 7.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.324, allocations: 31.61 kB / 1.319 GB, free: 7.125 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.3241, allocations: 51.62 kB / 1.319 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3252, allocations: 498.3 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.3258, allocations: 0.5538 MB / 1.32 GB, free: 6.043 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.3259, allocations: 105 kB / 1.32 GB, free: 5.938 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.3262, allocations: 227.5 kB / 1.32 GB, free: 5.715 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.3264, allocations: 227.2 kB / 1.32 GB, free: 5.492 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.3265, allocations: 60 kB / 1.32 GB, free: 5.434 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3266, allocations: 67.98 kB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.3267, allocations: 75.77 kB / 1.32 GB, free: 5.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3269, allocations: 215.2 kB / 1.321 GB, free: 5.082 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.3275, allocations: 0.58 MB / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3275, allocations: 0 / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3275, allocations: 0 / 1.321 GB, free: 4.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3275, allocations: 0 / 1.321 GB, free: 4.5 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.0009602/0.3285, allocations: 0.6348 MB / 1.322 GB, free: 3.805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3285, allocations: 16.03 kB / 1.322 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3286, allocations: 44.73 kB / 1.322 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.329, allocations: 247.1 kB / 1.322 GB, free: 3.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.329, allocations: 32.86 kB / 1.322 GB, free: 3.449 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.981e-05/0.3291, allocations: 48.31 kB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.3295, allocations: 248.6 kB / 1.322 GB, free: 3.156 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3296, allocations: 4.172 kB / 1.322 GB, free: 3.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.3296, allocations: 11.94 kB / 1.322 GB, free: 3.141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3296, allocations: 8 kB / 1.322 GB, free: 3.133 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.3299, allocations: 165.9 kB / 1.323 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.3312, allocations: 0.8876 MB / 1.323 GB, free: 2.035 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.3316, allocations: 202.6 kB / 1.324 GB, free: 1.828 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.3318, allocations: 68.83 kB / 1.324 GB, free: 1.758 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3318, allocations: 4 kB / 1.324 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.3322, allocations: 258.4 kB / 1.324 GB, free: 1.488 MB / 1.014 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.3322, allocations: 4 kB / 1.324 GB, free: 1.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=34): time 0.0007336/0.3329, allocations: 438.8 kB / 1.324 GB, free: 1.051 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.333, allocations: 63.41 kB / 1.324 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.3332, allocations: 202.6 kB / 1.325 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.343e-05/0.3332, allocations: 49.7 kB / 1.325 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.3333, allocations: 148.8 kB / 1.325 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.3334, allocations: 83.45 kB / 1.325 GB, free: 496 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3336, allocations: 134 kB / 1.325 GB, free: 352 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3337, allocations: 334.8 kB / 1.325 GB, free: 8 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003411/0.3341, allocations: 172.7 kB / 1.326 GB, free: 15.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.3345, allocations: 257.5 kB / 1.326 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.335, allocations: 418.3 kB / 1.326 GB, free: 15.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.335, allocations: 4 kB / 1.326 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009892/0.336, allocations: 0.6287 MB / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3361, allocations: 128.2 kB / 1.327 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3361, allocations: 7.984 kB / 1.327 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3361, allocations: 8.281 kB / 1.327 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.3362, allocations: 23.88 kB / 1.327 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3362, allocations: 7.984 kB / 1.327 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.3368, allocations: 131.6 kB / 1.327 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.3368, allocations: 31.98 kB / 1.327 GB, free: 14.07 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.0001841/0.337, allocations: 178.4 kB / 1.327 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.3371, allocations: 35.72 kB / 1.327 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.3371, allocations: 18.66 kB / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3371, allocations: 4 kB / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3371, allocations: 0 / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3371, allocations: 11.98 kB / 1.327 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009305/0.3381, allocations: 0.7293 MB / 1.328 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3381, allocations: 0 / 1.328 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.3381, allocations: 15.98 kB / 1.328 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3381, allocations: 0 / 1.328 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.3381, allocations: 11.98 kB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3381, allocations: 0 / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3381, allocations: 0 / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.3387, allocations: 448.6 kB / 1.329 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.3387, allocations: 19.8 kB / 1.329 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.3387, allocations: 15.98 kB / 1.329 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.3388, allocations: 11.98 kB / 1.329 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.3389, allocations: 31.95 kB / 1.329 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.339, allocations: 19.98 kB / 1.329 GB, free: 12.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.811e-05/0.3391, allocations: 128.3 kB / 1.329 GB, free: 12.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3391, allocations: 0 / 1.329 GB, free: 12.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003732/0.3394, allocations: 115.8 kB / 1.329 GB, free: 12.22 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.0001657/0.3396, allocations: 129.7 kB / 1.329 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.3404, allocations: 0.5675 MB / 1.33 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3404, allocations: 0.5625 kB / 1.33 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.3406, allocations: 120.1 kB / 1.33 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.341, allocations: 60.16 kB / 1.33 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007602/0.3417, allocations: 480.9 kB / 1.33 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.3421, allocations: 0.7642 MB / 1.331 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.578e-05/0.3422, allocations: 26.28 kB / 1.331 GB, free: 9.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.3422, allocations: 31.38 kB / 1.331 GB, free: 9.945 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3422, allocations: 0 / 1.331 GB, free: 9.945 MB / 1.029 GB Notification: Performance of Templates: time 0.008743/0.351, allocations: 5.031 MB / 1.336 GB, free: 4.965 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 -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/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.266545395366848]