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.004605/0.004606, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001096/0.001096, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.563/2.563, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.88 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2914, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.8037/1.095, allocations: 236.5 MB / 1.398 GB, free: 8.484 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0585/1.154, allocations: 43.39 MB / 1.44 GB, free: 2.094 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008802/1.163, allocations: 234.6 kB / 1.44 GB, free: 1.863 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.008936/1.171, allocations: 3.282 MB / 1.443 GB, free: 14.56 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.02101/1.193, allocations: 8.179 MB / 1.451 GB, free: 6.359 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.0134/1.206, allocations: 5.768 MB / 1.457 GB, free: 0.6367 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.03258/1.239, allocations: 26.75 MB / 1.483 GB, free: 5.824 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01654/1.255, allocations: 11.51 MB / 1.494 GB, free: 10.2 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02192/1.277, allocations: 9.891 MB / 1.504 GB, free: 316 kB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0124/1.289, allocations: 6.882 MB / 1.511 GB, free: 9.395 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.004289/1.294, allocations: 1.062 MB / 1.512 GB, free: 8.332 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/1.306, allocations: 3.484 MB / 1.515 GB, free: 4.848 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.005089/1.311, allocations: 2.633 MB / 1.518 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.01137/1.322, allocations: 5.539 MB / 1.523 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02812/1.35, allocations: 19.04 MB / 1.542 GB, free: 9.551 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.35, allocations: 0 / 1.542 GB, free: 9.551 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.533e-06/1.35, allocations: 0 / 1.542 GB, free: 9.551 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0004638/1.351, allocations: 0 / 1.542 GB, free: 9.551 MB / 1.201 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.02843/1.379, allocations: 10.67 MB / 1.552 GB, free: 14.77 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.379, allocations: 12.03 kB / 1.552 GB, free: 14.75 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007853/1.387, allocations: 1.403 MB / 1.554 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.41, allocations: 11.04 MB / 1.564 GB, free: 2.23 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000625/1.41, allocations: 470.1 kB / 1.565 GB, free: 1.758 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/1.412, allocations: 0.5233 MB / 1.565 GB, free: 1.234 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/1.431, allocations: 7.264 MB / 1.572 GB, free: 9.797 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002513/1.432, allocations: 11.94 kB / 1.572 GB, free: 9.785 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/1.433, allocations: 204 kB / 1.573 GB, free: 9.586 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/1.433, allocations: 201.3 kB / 1.573 GB, free: 9.387 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/1.449, allocations: 6.251 MB / 1.579 GB, free: 3.121 MB / 1.233 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.0546/1.504, allocations: 33.96 MB / 1.612 GB, free: 15.12 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00549/1.509, allocations: 2.395 MB / 1.614 GB, free: 12.72 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003982/1.513, allocations: 1.803 MB / 1.616 GB, free: 10.92 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/1.515, allocations: 2.036 MB / 1.618 GB, free: 8.438 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004108/1.519, allocations: 1.803 MB / 1.62 GB, free: 6.625 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.709e-06/1.519, allocations: 3.938 kB / 1.62 GB, free: 6.621 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01203/1.531, allocations: 4.9 MB / 1.625 GB, free: 1.715 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/1.531, allocations: 77.41 kB / 1.625 GB, free: 1.625 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01937/1.551, allocations: 9.224 MB / 1.634 GB, free: 8.422 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0008278/1.552, allocations: 89.7 kB / 1.634 GB, free: 8.328 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.005189/1.557, allocations: 3.845 MB / 1.638 GB, free: 4.469 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.558, allocations: 0.8057 MB / 1.638 GB, free: 3.656 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002096/1.56, allocations: 0.8004 MB / 1.639 GB, free: 2.848 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/1.56, allocations: 305.1 kB / 1.639 GB, free: 2.547 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.564, allocations: 1.669 MB / 1.641 GB, free: 0.875 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004984/1.569, allocations: 3.276 MB / 1.644 GB, free: 12.97 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0083/1.577, allocations: 4.358 MB / 1.649 GB, free: 8.152 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-05/1.577, allocations: 8 kB / 1.649 GB, free: 8.145 MB / 1.311 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01262/1.59, allocations: 5.152 MB / 1.654 GB, free: 2.941 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/1.59, allocations: 20 kB / 1.654 GB, free: 2.922 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-05/1.59, allocations: 32 kB / 1.654 GB, free: 2.891 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.616e-05/1.59, allocations: 48 kB / 1.654 GB, free: 2.844 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/1.594, allocations: 0.8387 MB / 1.654 GB, free: 2.004 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.655e-05/1.594, allocations: 71.72 kB / 1.655 GB, free: 1.934 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006569/1.601, allocations: 0.6299 MB / 1.655 GB, free: 1.301 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006105/1.601, allocations: 167.9 kB / 1.655 GB, free: 1.137 MB / 1.311 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.005549/1.607, allocations: 3.062 MB / 1.658 GB, free: 14.05 MB / 1.326 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002564/1.609, allocations: 0.7685 MB / 1.659 GB, free: 13.28 MB / 1.326 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.619, allocations: 4.091 MB / 1.663 GB, free: 9.199 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.083e-05/1.62, allocations: 27.94 kB / 1.663 GB, free: 9.172 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.62, allocations: 0 / 1.663 GB, free: 9.172 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00629/1.626, allocations: 3.184 MB / 1.666 GB, free: 5.934 MB / 1.326 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.02523/1.651, allocations: 11.23 MB / 1.677 GB, free: 10.55 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.651, allocations: 0 / 1.677 GB, free: 10.55 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.654, allocations: 0.5308 MB / 1.678 GB, free: 10.02 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-05/1.654, allocations: 12 kB / 1.678 GB, free: 10.01 MB / 1.342 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002692/1.654, allocations: 83.94 kB / 1.678 GB, free: 9.926 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.686e-05/1.654, allocations: 15.88 kB / 1.678 GB, free: 9.91 MB / 1.342 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.654, allocations: 4 kB / 1.678 GB, free: 9.906 MB / 1.342 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.667, allocations: 6.068 MB / 1.684 GB, free: 3.785 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004965/1.672, allocations: 1.472 MB / 1.685 GB, free: 2.289 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002812/1.675, allocations: 63.97 kB / 1.685 GB, free: 2.227 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005089/1.68, allocations: 247.6 kB / 1.685 GB, free: 1.984 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004051/1.68, allocations: 153.7 kB / 1.686 GB, free: 1.832 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004148/1.68, allocations: 115.9 kB / 1.686 GB, free: 1.719 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01369/1.694, allocations: 6.553 MB / 1.692 GB, free: 11.19 MB / 1.358 GB Notification: Performance of sort global known variables: time 3.2e-07/1.694, allocations: 0 / 1.692 GB, free: 11.19 MB / 1.358 GB Notification: Performance of remove unused functions: time 0.007493/1.702, allocations: 2.101 MB / 1.694 GB, free: 9.086 MB / 1.358 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.002504/1.704, allocations: 1.153 MB / 1.695 GB, free: 7.965 MB / 1.358 GB Notification: Performance of simCode: created initialization part: time 0.008747/1.713, allocations: 3.812 MB / 1.699 GB, free: 4.156 MB / 1.358 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.713, allocations: 3.938 kB / 1.699 GB, free: 4.152 MB / 1.358 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/1.717, allocations: 1.676 MB / 1.701 GB, free: 2.48 MB / 1.358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02175/1.738, allocations: 4.559 MB / 1.705 GB, free: 14.08 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03185/1.77, allocations: 16.37 MB / 1.721 GB, free: 13.64 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008302/1.779, allocations: 5.518 MB / 1.726 GB, free: 8.09 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.00871/1.787, allocations: 2.138 MB / 1.729 GB, free: 5.988 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002398/1.79, allocations: 0.5422 MB / 1.729 GB, free: 5.445 MB / 1.389 GB Notification: Performance of SimCode: time 9.22e-07/1.79, allocations: 0 / 1.729 GB, free: 5.445 MB / 1.389 GB Notification: Performance of Templates: time 1.258/3.048, allocations: 156.5 MB / 1.882 GB, free: 469.4 MB / 1.451 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/jenkins/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