Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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.001555/0.001555, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001863/0.001863, allocations: 161.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.316 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.913/2.913, allocations: 377.9 MB / 0.6232 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.1.|y1.y.2.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.1.|y1.y.2.|chi.m2_flow|chi.chi.m2_flow|TChiWatSupSet.y|chi.sta_a2.T|chi.sta_b2.T|chi.sta_a1.T|chi.sta_b1.T|chi.chi.PLR1|chi.chi.PLR2|dat.PLRMax|chi.chi.COP",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.8108 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.526e-05/3.701e-05, allocations: 3.031 kB / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2868/0.2868, allocations: 216.3 MB / 1.022 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.6304/0.9173, allocations: 40.98 MB / 1.062 GB, free: 66.9 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01036/0.9276, allocations: 333.1 kB / 1.062 GB, free: 66.9 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.9376, allocations: 3.174 MB / 1.065 GB, free: 66.85 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.02529/0.9629, allocations: 8.528 MB / 1.074 GB, free: 65.48 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01571/0.9786, allocations: 5.977 MB / 1.08 GB, free: 65.24 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.03915/1.018, allocations: 27.27 MB / 1.106 GB, free: 54.7 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/1.032, allocations: 7.848 MB / 1.114 GB, free: 49.97 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03798/1.07, allocations: 14.21 MB / 1.128 GB, free: 43.7 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01434/1.084, allocations: 6.629 MB / 1.134 GB, free: 40.78 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.003746/1.088, allocations: 1.051 MB / 1.135 GB, free: 40.77 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/1.101, allocations: 3.042 MB / 1.138 GB, free: 39.87 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.004627/1.106, allocations: 2.753 MB / 1.141 GB, free: 37.84 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.01157/1.118, allocations: 3.653 MB / 1.145 GB, free: 36 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.02931/1.147, allocations: 18.61 MB / 1.163 GB, free: 18.54 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.147, allocations: 0 / 1.163 GB, free: 18.54 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.454e-06/1.147, allocations: 0 / 1.163 GB, free: 18.54 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005665/1.148, allocations: 0 / 1.163 GB, free: 18.54 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.02658/1.174, allocations: 10.49 MB / 1.173 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.174, allocations: 8.031 kB / 1.173 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/1.185, allocations: 1.909 MB / 1.175 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02599/1.211, allocations: 12.12 MB / 1.187 GB, free: 10.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009245/1.212, allocations: 0.5082 MB / 1.187 GB, free: 9.871 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002812/1.215, allocations: 0.5312 MB / 1.188 GB, free: 9.34 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/1.24, allocations: 8.204 MB / 1.196 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/1.24, allocations: 11.23 kB / 1.196 GB, free: 0.7656 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/1.241, allocations: 205.9 kB / 1.196 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/1.242, allocations: 146.4 kB / 1.196 GB, free: 436 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/1.26, allocations: 6.342 MB / 1.202 GB, free: 10.11 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06328/1.324, allocations: 24.2 MB / 1.226 GB, free: 2.109 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007168/1.331, allocations: 2.494 MB / 1.228 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004759/1.336, allocations: 1.748 MB / 1.23 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/1.337, allocations: 247 kB / 1.23 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006096/1.343, allocations: 2.745 MB / 1.233 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=212): time 6.161e-06/1.343, allocations: 0 / 1.233 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01595/1.359, allocations: 5.129 MB / 1.238 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.359, allocations: 73.41 kB / 1.238 GB, free: 5.492 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02215/1.381, allocations: 8.413 MB / 1.246 GB, free: 13.08 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009502/1.382, allocations: 85.7 kB / 1.246 GB, free: 12.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.007488/1.39, allocations: 3.886 MB / 1.25 GB, free: 9.102 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001829/1.391, allocations: 0.7627 MB / 1.251 GB, free: 8.352 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00319/1.395, allocations: 0.7728 MB / 1.252 GB, free: 7.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.395, allocations: 301.1 kB / 1.252 GB, free: 7.273 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/1.399, allocations: 1.743 MB / 1.254 GB, free: 5.527 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008155/1.408, allocations: 5.191 MB / 1.259 GB, free: 15.28 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.418, allocations: 4.416 MB / 1.263 GB, free: 10.53 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.908e-05/1.418, allocations: 8 kB / 1.263 GB, free: 10.52 MB / 1.026 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.02148/1.44, allocations: 5.322 MB / 1.268 GB, free: 5.344 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/1.44, allocations: 19.94 kB / 1.268 GB, free: 5.324 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-05/1.44, allocations: 32 kB / 1.268 GB, free: 5.293 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/1.44, allocations: 48 kB / 1.268 GB, free: 5.246 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005878/1.446, allocations: 0.8305 MB / 1.269 GB, free: 4.465 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001652/1.446, allocations: 69.38 kB / 1.269 GB, free: 4.41 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/1.457, allocations: 0.5723 MB / 1.27 GB, free: 3.836 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.458, allocations: 160 kB / 1.27 GB, free: 3.68 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * 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.008712/1.467, allocations: 3.06 MB / 1.273 GB, free: 0.6602 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003645/1.471, allocations: 0.7535 MB / 1.274 GB, free: 15.9 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/1.484, allocations: 4.184 MB / 1.278 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.401e-05/1.484, allocations: 27.94 kB / 1.278 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.484, allocations: 0 / 1.278 GB, free: 11.7 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008553/1.493, allocations: 3.336 MB / 1.281 GB, free: 8.312 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/1.52, allocations: 9.607 MB / 1.29 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.52, allocations: 4 kB / 1.29 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002854/1.523, allocations: 0.5555 MB / 1.291 GB, free: 14.18 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.469e-05/1.523, allocations: 12 kB / 1.291 GB, free: 14.16 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/1.524, allocations: 83.88 kB / 1.291 GB, free: 14.08 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.524, allocations: 12 kB / 1.291 GB, free: 14.07 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.524, allocations: 2.719 kB / 1.291 GB, free: 14.07 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/1.539, allocations: 6.344 MB / 1.297 GB, free: 7.68 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004717/1.544, allocations: 1.354 MB / 1.298 GB, free: 6.328 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001515/1.545, allocations: 59.92 kB / 1.299 GB, free: 6.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004097/1.549, allocations: 279.6 kB / 1.299 GB, free: 5.996 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/1.549, allocations: 148.3 kB / 1.299 GB, free: 5.855 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003442/1.55, allocations: 115.9 kB / 1.299 GB, free: 5.742 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01308/1.563, allocations: 5.918 MB / 1.305 GB, free: 15.83 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.31e-07/1.563, allocations: 0 / 1.305 GB, free: 15.83 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.009188/1.572, allocations: 2.186 MB / 1.307 GB, free: 13.64 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].actPos.y,chi.valEva.val[2].actPos.y,chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].actPos.y,chi.valCon.val[2].actPos.y,chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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.002745/1.575, allocations: 1.11 MB / 1.308 GB, free: 12.64 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.009657/1.585, allocations: 3.832 MB / 1.312 GB, free: 8.918 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/1.585, allocations: 4 kB / 1.312 GB, free: 8.914 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004164/1.589, allocations: 1.655 MB / 1.313 GB, free: 7.301 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01936/1.608, allocations: 3.899 MB / 1.317 GB, free: 3.547 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/1.643, allocations: 15.99 MB / 1.333 GB, free: 3.488 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008041/1.651, allocations: 5.07 MB / 1.338 GB, free: 14.38 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.007844/1.659, allocations: 1.899 MB / 1.34 GB, free: 12.51 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002007/1.661, allocations: 0.5034 MB / 1.34 GB, free: 12.01 MB / 1.104 GB Notification: Performance of SimCode: time 1.382e-06/1.661, allocations: 0 / 1.34 GB, free: 12.01 MB / 1.104 GB Notification: Performance of Templates: time 0.2533/1.914, allocations: 139.5 MB / 1.476 GB, free: 3.125 MB / 1.229 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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: 14.44808982592076]