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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001321/0.001321, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001893/0.001893, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.829/2.829, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9189/0.9193, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2153/1.135, allocations: 218.8 MB / 1.236 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8287/1.963, allocations: 40.82 MB / 1.276 GB, free: 60.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0105/1.974, allocations: 206.8 kB / 1.276 GB, free: 60.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/1.985, allocations: 2.141 MB / 1.278 GB, free: 60.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02608/2.011, allocations: 5.794 MB / 1.284 GB, free: 59.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0154/2.026, allocations: 3.758 MB / 1.288 GB, free: 59.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0425/2.069, allocations: 28.39 MB / 1.315 GB, free: 57.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/2.083, allocations: 7.102 MB / 1.322 GB, free: 55.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02092/2.104, allocations: 6.925 MB / 1.329 GB, free: 53.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0155/2.12, allocations: 5.895 MB / 1.335 GB, free: 51.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003398/2.123, allocations: 311.8 kB / 1.335 GB, free: 51.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/2.137, allocations: 1.708 MB / 1.337 GB, free: 50.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004916/2.142, allocations: 1.684 MB / 1.338 GB, free: 50.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006498/2.148, allocations: 2.053 MB / 1.34 GB, free: 49.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02175/2.17, allocations: 15.36 MB / 1.355 GB, free: 39.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/2.17, allocations: 4 kB / 1.355 GB, free: 39.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.827e-06/2.17, allocations: 0 / 1.355 GB, free: 39.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0008958/2.171, allocations: 0 / 1.355 GB, free: 39.23 MB / 0.9825 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.02695/2.198, allocations: 8.367 MB / 1.364 GB, free: 31.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/2.198, allocations: 8.031 kB / 1.364 GB, free: 31.63 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008392/2.206, allocations: 1.385 MB / 1.365 GB, free: 30.24 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02672/2.233, allocations: 10.88 MB / 1.376 GB, free: 22.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008081/2.234, allocations: 473.6 kB / 1.376 GB, free: 22.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002837/2.237, allocations: 0.5144 MB / 1.376 GB, free: 21.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/2.254, allocations: 7.243 MB / 1.384 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/2.254, allocations: 19.83 kB / 1.384 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006039/2.255, allocations: 204 kB / 1.384 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/2.255, allocations: 201.3 kB / 1.384 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/2.268, allocations: 6.243 MB / 1.39 GB, free: 7.508 MB / 0.9825 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.0681/2.336, allocations: 34.44 MB / 1.424 GB, free: 3.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00606/2.342, allocations: 2.395 MB / 1.426 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/2.346, allocations: 1.78 MB / 1.428 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002239/2.348, allocations: 2.046 MB / 1.43 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004678/2.353, allocations: 1.815 MB / 1.432 GB, free: 10.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=220): time 5.45e-06/2.353, allocations: 0 / 1.432 GB, free: 10.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=220): time 0.01445/2.368, allocations: 4.902 MB / 1.436 GB, free: 5.773 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/2.368, allocations: 85.08 kB / 1.436 GB, free: 5.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02372/2.391, allocations: 8.88 MB / 1.445 GB, free: 12.82 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.001448/2.393, allocations: 89.7 kB / 1.445 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.006928/2.4, allocations: 3.817 MB / 1.449 GB, free: 8.914 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/2.402, allocations: 0.7724 MB / 1.45 GB, free: 8.148 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/2.402, allocations: 68 kB / 1.45 GB, free: 8.082 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002861/2.402, allocations: 436.8 kB / 1.45 GB, free: 7.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/2.406, allocations: 1.658 MB / 1.452 GB, free: 5.988 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/2.411, allocations: 3.28 MB / 1.455 GB, free: 2.082 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/2.415, allocations: 2.155 MB / 1.457 GB, free: 15.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/2.415, allocations: 12 kB / 1.457 GB, free: 15.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01227/2.427, allocations: 5.109 MB / 1.462 GB, free: 10.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/2.427, allocations: 16 kB / 1.462 GB, free: 10.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.973e-05/2.427, allocations: 32 kB / 1.462 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.453e-05/2.427, allocations: 52 kB / 1.462 GB, free: 10.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/2.431, allocations: 0.8471 MB / 1.463 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.061e-05/2.431, allocations: 71.72 kB / 1.463 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009255/2.44, allocations: 0.8906 MB / 1.464 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/2.441, allocations: 166.6 kB / 1.464 GB, free: 8.676 MB / 1.061 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,chi.com.y1One,y1.y[1],y1.y[2],$PRE.y1.intTimTab.y[1],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[2],$PRE.y1.intTimTab.idx,y1.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008839/2.45, allocations: 3.062 MB / 1.467 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003369/2.453, allocations: 0.737 MB / 1.468 GB, free: 4.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/2.465, allocations: 4.118 MB / 1.472 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.752e-05/2.466, allocations: 24 kB / 1.472 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/2.466, allocations: 0 / 1.472 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006275/2.472, allocations: 3.206 MB / 1.475 GB, free: 13.46 MB / 1.076 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.03105/2.503, allocations: 10.92 MB / 1.486 GB, free: 2.461 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.503, allocations: 4 kB / 1.486 GB, free: 2.457 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/2.505, allocations: 0.5386 MB / 1.486 GB, free: 1.918 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/2.506, allocations: 8 kB / 1.486 GB, free: 1.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/2.506, allocations: 83.92 kB / 1.486 GB, free: 1.828 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-05/2.506, allocations: 19.88 kB / 1.486 GB, free: 1.809 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.275e-05/2.506, allocations: 8 kB / 1.486 GB, free: 1.801 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/2.52, allocations: 6.058 MB / 1.492 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006241/2.526, allocations: 1.542 MB / 1.494 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003132/2.529, allocations: 58.61 kB / 1.494 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007243/2.536, allocations: 0.4918 MB / 1.494 GB, free: 9.57 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/2.537, allocations: 145.8 kB / 1.494 GB, free: 9.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004363/2.537, allocations: 111.9 kB / 1.494 GB, free: 9.32 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01653/2.554, allocations: 6.299 MB / 1.501 GB, free: 3.047 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.62e-07/2.554, allocations: 0 / 1.501 GB, free: 3.047 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.01227/2.566, allocations: 2.016 MB / 1.503 GB, free: 1.027 MB / 1.092 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003303/2.57, allocations: 1.057 MB / 1.504 GB, free: 96 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01031/2.58, allocations: 3.811 MB / 1.507 GB, free: 12.29 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.18e-05/2.58, allocations: 1.938 kB / 1.507 GB, free: 12.29 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004558/2.585, allocations: 1.682 MB / 1.509 GB, free: 10.6 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03046/2.615, allocations: 4.585 MB / 1.513 GB, free: 6.109 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/2.661, allocations: 18.35 MB / 1.531 GB, free: 3.777 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009483/2.671, allocations: 5.526 MB / 1.537 GB, free: 14.22 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.01212/2.683, allocations: 2.146 MB / 1.539 GB, free: 12.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002851/2.686, allocations: 0.5227 MB / 1.539 GB, free: 11.59 MB / 1.139 GB Notification: Performance of SimCode: time 1.382e-06/2.686, allocations: 0 / 1.539 GB, free: 11.59 MB / 1.139 GB Notification: Performance of Templates: time 0.2757/2.962, allocations: 151.4 MB / 1.687 GB, free: 5.668 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/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