Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.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_latest_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_latest_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.001029/0.001029, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001011/0.001011, allocations: 177.3 kB / 15.95 MB, free: 216 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.566/1.566, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.922/2.922, allocations: 436.5 MB / 0.7104 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8534, allocations: 153.7 MB / 1.021 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.202/1.055, allocations: 198.3 MB / 1.215 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.06549/1.121, allocations: 37.72 MB / 1.251 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01151/1.133, allocations: 194.6 kB / 1.252 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01352/1.146, allocations: 2.608 MB / 1.254 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.8234/1.97, allocations: 6.942 MB / 1.261 GB, free: 59.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01568/1.985, allocations: 4.711 MB / 1.265 GB, free: 58.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03625/2.022, allocations: 13.8 MB / 1.279 GB, free: 58.92 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01645/2.038, allocations: 7.188 MB / 1.286 GB, free: 57.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02098/2.059, allocations: 6.292 MB / 1.292 GB, free: 57.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/2.074, allocations: 4.098 MB / 1.296 GB, free: 57.89 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004238/2.078, allocations: 310.8 kB / 1.296 GB, free: 57.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/2.094, allocations: 1.883 MB / 1.298 GB, free: 57.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005178/2.099, allocations: 1.602 MB / 1.3 GB, free: 57.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007147/2.107, allocations: 2.047 MB / 1.302 GB, free: 57.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02425/2.131, allocations: 15.23 MB / 1.317 GB, free: 55.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/2.131, allocations: 4 kB / 1.317 GB, free: 55.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.947e-06/2.131, allocations: 0 / 1.317 GB, free: 55.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0007203/2.132, allocations: 0 / 1.317 GB, free: 55.68 MB / 0.9981 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.0291/2.161, allocations: 8.345 MB / 1.325 GB, free: 50.94 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/2.161, allocations: 18.64 kB / 1.325 GB, free: 50.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008716/2.17, allocations: 1.389 MB / 1.326 GB, free: 50.29 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02578/2.195, allocations: 11.14 MB / 1.337 GB, free: 46.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/2.197, allocations: 474.4 kB / 1.338 GB, free: 46.65 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004143/2.201, allocations: 0.5155 MB / 1.338 GB, free: 46.65 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/2.227, allocations: 7.024 MB / 1.345 GB, free: 44.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/2.227, allocations: 19.67 kB / 1.345 GB, free: 44.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/2.229, allocations: 205.4 kB / 1.345 GB, free: 44.74 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/2.229, allocations: 204 kB / 1.345 GB, free: 44.72 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/2.244, allocations: 5.9 MB / 1.351 GB, free: 43.72 MB / 0.9981 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.05414/2.298, allocations: 32.52 MB / 1.383 GB, free: 21.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004011/2.302, allocations: 2.181 MB / 1.385 GB, free: 20.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001261/2.303, allocations: 2.011 MB / 1.387 GB, free: 18.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002812/2.306, allocations: 1.649 MB / 1.389 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=220): time 4.107e-06/2.306, allocations: 0 / 1.389 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=220): time 0.008979/2.315, allocations: 4.446 MB / 1.393 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/2.315, allocations: 81.41 kB / 1.393 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/2.331, allocations: 8.783 MB / 1.402 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/2.332, allocations: 85.64 kB / 1.402 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004709/2.337, allocations: 3.815 MB / 1.405 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/2.339, allocations: 0.7708 MB / 1.406 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/2.339, allocations: 62.69 kB / 1.406 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001908/2.339, allocations: 442.3 kB / 1.407 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002633/2.342, allocations: 1.489 MB / 1.408 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003676/2.345, allocations: 3.031 MB / 1.411 GB, free: 464 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/2.349, allocations: 2.01 MB / 1.413 GB, free: 15.22 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-05/2.349, allocations: 11.98 kB / 1.413 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01221/2.362, allocations: 4.802 MB / 1.418 GB, free: 11.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.002e-05/2.362, allocations: 17.88 kB / 1.418 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.739e-05/2.362, allocations: 35.95 kB / 1.418 GB, free: 11.74 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/2.362, allocations: 52 kB / 1.418 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/2.365, allocations: 0.8187 MB / 1.419 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.204e-05/2.365, allocations: 68.06 kB / 1.419 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008673/2.374, allocations: 0.8541 MB / 1.419 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007512/2.375, allocations: 174 kB / 1.42 GB, free: 9.961 MB / 1.014 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.008105/2.383, allocations: 3.064 MB / 1.423 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002867/2.386, allocations: 0.7292 MB / 1.423 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009116/2.395, allocations: 3.831 MB / 1.427 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/2.395, allocations: 27.95 kB / 1.427 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/2.395, allocations: 0 / 1.427 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004923/2.4, allocations: 2.908 MB / 1.43 GB, free: 2.734 MB / 1.014 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.02686/2.427, allocations: 10.25 MB / 1.44 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/2.427, allocations: 0 / 1.44 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/2.429, allocations: 0.5164 MB / 1.44 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.316e-05/2.429, allocations: 12 kB / 1.44 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/2.43, allocations: 87.89 kB / 1.441 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.328e-05/2.43, allocations: 10.73 kB / 1.441 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/2.43, allocations: 6.812 kB / 1.441 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/2.442, allocations: 5.923 MB / 1.446 GB, free: 3.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006715/2.449, allocations: 1.537 MB / 1.448 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003017/2.452, allocations: 63.98 kB / 1.448 GB, free: 1.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00641/2.459, allocations: 425.3 kB / 1.448 GB, free: 1.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004161/2.459, allocations: 149.9 kB / 1.448 GB, free: 1.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003842/2.459, allocations: 123.9 kB / 1.449 GB, free: 1.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.01471/2.474, allocations: 6.26 MB / 1.455 GB, free: 10.86 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.81e-07/2.474, allocations: 0 / 1.455 GB, free: 10.86 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.01084/2.485, allocations: 2.011 MB / 1.457 GB, free: 8.84 MB / 1.045 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.003194/2.488, allocations: 1.146 MB / 1.458 GB, free: 7.852 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00833/2.497, allocations: 3.485 MB / 1.461 GB, free: 4.477 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/2.497, allocations: 4 kB / 1.461 GB, free: 4.473 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003219/2.5, allocations: 1.525 MB / 1.463 GB, free: 2.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0246/2.524, allocations: 4.263 MB / 1.467 GB, free: 14.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03954/2.564, allocations: 18.07 MB / 1.484 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009064/2.573, allocations: 5.675 MB / 1.49 GB, free: 7.098 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.01179/2.585, allocations: 2.14 MB / 1.492 GB, free: 5.008 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002784/2.588, allocations: 0.5298 MB / 1.493 GB, free: 4.48 MB / 1.076 GB Notification: Performance of SimCode: time 1.824e-06/2.588, allocations: 0 / 1.493 GB, free: 4.48 MB / 1.076 GB Notification: Performance of Templates: time 0.2859/2.874, allocations: 147.5 MB / 1.637 GB, free: 3.176 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches