Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 111.7 kB / 16.41 MB, free: 6.492 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.001544/0.001544, allocations: 183 kB / 17.34 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.378/2.378, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.819/0.8203, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2112/1.032, allocations: 236.5 MB / 1.398 GB, free: 6.633 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.05835/1.09, allocations: 43.39 MB / 1.441 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008747/1.099, allocations: 238.6 kB / 1.441 GB, free: 10.91 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01058/1.109, allocations: 3.274 MB / 1.444 GB, free: 7.621 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02351/1.133, allocations: 8.191 MB / 1.452 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0148/1.148, allocations: 5.763 MB / 1.458 GB, free: 9.672 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03746/1.185, allocations: 26.75 MB / 1.484 GB, free: 14.86 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01957/1.205, allocations: 11.51 MB / 1.495 GB, free: 3.234 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02346/1.228, allocations: 9.886 MB / 1.505 GB, free: 9.344 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01372/1.242, allocations: 6.87 MB / 1.511 GB, free: 2.445 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.004367/1.247, allocations: 1.066 MB / 1.512 GB, free: 1.379 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01475/1.261, allocations: 3.476 MB / 1.516 GB, free: 13.9 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.006766/1.268, allocations: 2.637 MB / 1.518 GB, free: 11.25 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.01384/1.282, allocations: 5.539 MB / 1.524 GB, free: 5.691 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02947/1.312, allocations: 18.99 MB / 1.542 GB, free: 2.652 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.312, allocations: 0 / 1.542 GB, free: 2.652 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.813e-06/1.312, allocations: 0 / 1.542 GB, free: 2.652 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0005761/1.312, allocations: 4 kB / 1.542 GB, free: 2.648 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.032/1.344, allocations: 10.38 MB / 1.552 GB, free: 8.164 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/1.344, allocations: 8.031 kB / 1.552 GB, free: 8.156 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008501/1.353, allocations: 1.359 MB / 1.554 GB, free: 6.785 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.315/2.668, allocations: 10.97 MB / 1.565 GB, free: 367.8 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008318/2.669, allocations: 467.7 kB / 1.565 GB, free: 367.6 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/2.671, allocations: 0.5258 MB / 1.565 GB, free: 367.4 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/2.69, allocations: 7.267 MB / 1.573 GB, free: 364.4 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/2.69, allocations: 15.28 kB / 1.573 GB, free: 364.4 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008826/2.691, allocations: 203.4 kB / 1.573 GB, free: 364.3 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/2.691, allocations: 194.2 kB / 1.573 GB, free: 364.2 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/2.705, allocations: 6.258 MB / 1.579 GB, free: 362 MB / 1.279 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.04626/2.751, allocations: 33.89 MB / 1.612 GB, free: 331.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/2.755, allocations: 2.397 MB / 1.615 GB, free: 328.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/2.758, allocations: 1.811 MB / 1.616 GB, free: 327 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/2.76, allocations: 2.028 MB / 1.618 GB, free: 324.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00313/2.763, allocations: 1.797 MB / 1.62 GB, free: 322.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.9e-06/2.763, allocations: 0 / 1.62 GB, free: 322.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01012/2.773, allocations: 4.871 MB / 1.625 GB, free: 317.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/2.773, allocations: 81.41 kB / 1.625 GB, free: 317.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01429/2.787, allocations: 9.216 MB / 1.634 GB, free: 308.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0009899/2.788, allocations: 87.42 kB / 1.634 GB, free: 308.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003479/2.792, allocations: 3.786 MB / 1.638 GB, free: 304.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001274/2.793, allocations: 0.7772 MB / 1.638 GB, free: 303.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/2.794, allocations: 0.7947 MB / 1.639 GB, free: 303.1 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.696e-05/2.794, allocations: 301.1 kB / 1.639 GB, free: 302.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002765/2.797, allocations: 1.662 MB / 1.641 GB, free: 301.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/2.801, allocations: 3.28 MB / 1.644 GB, free: 297.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005787/2.807, allocations: 4.357 MB / 1.649 GB, free: 292.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/2.807, allocations: 8 kB / 1.649 GB, free: 292.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009612/2.816, allocations: 5.119 MB / 1.654 GB, free: 287.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/2.816, allocations: 16 kB / 1.654 GB, free: 287.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/2.816, allocations: 32 kB / 1.654 GB, free: 287.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.127e-05/2.816, allocations: 48 kB / 1.654 GB, free: 287.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003216/2.82, allocations: 0.8447 MB / 1.654 GB, free: 286.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.017e-05/2.82, allocations: 67.78 kB / 1.655 GB, free: 286.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007072/2.827, allocations: 0.6235 MB / 1.655 GB, free: 285.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000732/2.828, allocations: 156 kB / 1.655 GB, free: 285.7 MB / 1.279 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],y1.y[1],chi.com.y1One) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 414 * 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.006446/2.834, allocations: 3.077 MB / 1.658 GB, free: 282.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00272/2.837, allocations: 0.7331 MB / 1.659 GB, free: 281.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/2.845, allocations: 4.091 MB / 1.663 GB, free: 277.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/2.845, allocations: 27.98 kB / 1.663 GB, free: 277.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/2.845, allocations: 0 / 1.663 GB, free: 277.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005035/2.85, allocations: 3.185 MB / 1.666 GB, free: 274.6 MB / 1.279 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.02282/2.873, allocations: 11.22 MB / 1.677 GB, free: 263.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/2.873, allocations: 4 kB / 1.677 GB, free: 263.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/2.875, allocations: 0.5269 MB / 1.678 GB, free: 262.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/2.875, allocations: 8 kB / 1.678 GB, free: 262.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/2.876, allocations: 83.92 kB / 1.678 GB, free: 262.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/2.876, allocations: 12 kB / 1.678 GB, free: 262.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/2.876, allocations: 3.938 kB / 1.678 GB, free: 262.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/2.886, allocations: 6.034 MB / 1.684 GB, free: 256.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005513/2.892, allocations: 1.433 MB / 1.685 GB, free: 255.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003413/2.895, allocations: 64.84 kB / 1.685 GB, free: 255 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005689/2.901, allocations: 247.5 kB / 1.685 GB, free: 254.8 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004754/2.901, allocations: 145.8 kB / 1.685 GB, free: 254.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004204/2.902, allocations: 119.8 kB / 1.686 GB, free: 254.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.01293/2.915, allocations: 6.565 MB / 1.692 GB, free: 248 MB / 1.279 GB Notification: Performance of sort global known variables: time 2.91e-07/2.915, allocations: 0 / 1.692 GB, free: 248 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.008411/2.923, allocations: 2.074 MB / 1.694 GB, free: 246 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],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].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.com.y1One,y1.y[1],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 (230): * Single equations (assignments): 217 * 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.002436/2.926, allocations: 1.148 MB / 1.695 GB, free: 245 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007396/2.933, allocations: 3.816 MB / 1.699 GB, free: 241.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/2.933, allocations: 7.938 kB / 1.699 GB, free: 241.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/2.936, allocations: 1.734 MB / 1.701 GB, free: 239.4 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02084/2.957, allocations: 4.56 MB / 1.705 GB, free: 235.1 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/2.987, allocations: 15.77 MB / 1.72 GB, free: 219.3 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004603/2.992, allocations: 5.273 MB / 1.726 GB, free: 214 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/2.994, allocations: 0.5657 MB / 1.726 GB, free: 213.4 MB / 1.279 GB Notification: Performance of SimCode: time 7.71e-07/2.994, allocations: 0 / 1.726 GB, free: 213.4 MB / 1.279 GB Notification: Performance of Templates: time 0.1797/3.174, allocations: 152.1 MB / 1.875 GB, free: 61.91 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches