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.001371/0.001372, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001335/0.001335, allocations: 188 kB / 17.34 MB, free: 5.738 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.434/1.434, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.535/2.535, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 63.89 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7827, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2463/1.029, allocations: 236.5 MB / 1.398 GB, free: 6.547 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06383/1.093, allocations: 43.38 MB / 1.441 GB, free: 11.07 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008097/1.101, allocations: 234.6 kB / 1.441 GB, free: 10.84 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009463/1.111, allocations: 3.316 MB / 1.444 GB, free: 7.504 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02198/1.133, allocations: 8.196 MB / 1.452 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01371/1.146, allocations: 5.769 MB / 1.458 GB, free: 9.543 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03587/1.182, allocations: 26.74 MB / 1.484 GB, free: 14.73 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01831/1.201, allocations: 11.51 MB / 1.495 GB, free: 3.113 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02074/1.221, allocations: 9.871 MB / 1.505 GB, free: 9.238 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01254/1.234, allocations: 6.874 MB / 1.511 GB, free: 2.336 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.003475/1.237, allocations: 1.066 MB / 1.512 GB, free: 1.27 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01101/1.248, allocations: 3.472 MB / 1.516 GB, free: 13.79 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.004557/1.253, allocations: 2.644 MB / 1.518 GB, free: 11.14 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.01043/1.264, allocations: 5.539 MB / 1.524 GB, free: 5.578 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02648/1.29, allocations: 19.04 MB / 1.542 GB, free: 2.477 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.29, allocations: 0 / 1.542 GB, free: 2.477 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.683e-06/1.29, allocations: 0 / 1.542 GB, free: 2.477 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0004018/1.29, allocations: 0 / 1.542 GB, free: 2.477 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.02607/1.317, allocations: 10.67 MB / 1.553 GB, free: 7.691 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.317, allocations: 12.86 kB / 1.553 GB, free: 7.68 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007991/1.325, allocations: 1.466 MB / 1.554 GB, free: 6.207 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.141/2.465, allocations: 11.05 MB / 1.565 GB, free: 367.4 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007965/2.466, allocations: 464.6 kB / 1.566 GB, free: 367.2 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002057/2.468, allocations: 0.524 MB / 1.566 GB, free: 367 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/2.483, allocations: 7.323 MB / 1.573 GB, free: 364 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001144/2.483, allocations: 10.48 kB / 1.573 GB, free: 364 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005957/2.484, allocations: 207.4 kB / 1.573 GB, free: 363.9 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/2.484, allocations: 199.9 kB / 1.574 GB, free: 363.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/2.496, allocations: 6.34 MB / 1.58 GB, free: 361.5 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.04697/2.543, allocations: 34.09 MB / 1.613 GB, free: 330.2 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0048/2.548, allocations: 2.461 MB / 1.616 GB, free: 327.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003336/2.551, allocations: 1.827 MB / 1.617 GB, free: 326 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/2.553, allocations: 2.031 MB / 1.619 GB, free: 323.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003605/2.556, allocations: 1.832 MB / 1.621 GB, free: 321.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 6.362e-06/2.556, allocations: 0 / 1.621 GB, free: 321.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.01114/2.568, allocations: 4.99 MB / 1.626 GB, free: 316.7 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/2.568, allocations: 77.41 kB / 1.626 GB, free: 316.6 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01779/2.585, allocations: 9.216 MB / 1.635 GB, free: 307.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000779/2.586, allocations: 89.7 kB / 1.635 GB, free: 307.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.004493/2.591, allocations: 3.846 MB / 1.639 GB, free: 303.8 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001245/2.592, allocations: 0.8109 MB / 1.64 GB, free: 303.1 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002069/2.594, allocations: 0.7965 MB / 1.64 GB, free: 302.3 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.107e-05/2.594, allocations: 301.1 kB / 1.641 GB, free: 302 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/2.597, allocations: 1.692 MB / 1.642 GB, free: 300.3 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/2.602, allocations: 3.305 MB / 1.646 GB, free: 296.4 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006963/2.609, allocations: 4.406 MB / 1.65 GB, free: 291.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.52e-05/2.609, allocations: 11.94 kB / 1.65 GB, free: 291.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01123/2.62, allocations: 5.204 MB / 1.655 GB, free: 286.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/2.62, allocations: 16 kB / 1.655 GB, free: 286.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.854e-05/2.62, allocations: 35.12 kB / 1.655 GB, free: 286.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.451e-05/2.62, allocations: 48 kB / 1.655 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/2.624, allocations: 0.8497 MB / 1.656 GB, free: 285.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.083e-05/2.624, allocations: 71.72 kB / 1.656 GB, free: 285.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006305/2.63, allocations: 0.637 MB / 1.657 GB, free: 284.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004519/2.63, allocations: 162.8 kB / 1.657 GB, free: 284.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.004585/2.635, allocations: 3.061 MB / 1.66 GB, free: 281.7 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002306/2.637, allocations: 0.7752 MB / 1.661 GB, free: 280.9 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008819/2.646, allocations: 4.15 MB / 1.665 GB, free: 276.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/2.646, allocations: 24 kB / 1.665 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/2.646, allocations: 11.44 kB / 1.665 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005586/2.652, allocations: 3.227 MB / 1.668 GB, free: 273.4 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.02511/2.677, allocations: 11.3 MB / 1.679 GB, free: 262.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/2.677, allocations: 7.938 kB / 1.679 GB, free: 262.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/2.68, allocations: 0.5386 MB / 1.679 GB, free: 261.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.764e-05/2.68, allocations: 12 kB / 1.679 GB, free: 261.5 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/2.68, allocations: 79.94 kB / 1.679 GB, free: 261.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/2.68, allocations: 11.94 kB / 1.679 GB, free: 261.4 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.68, allocations: 4 kB / 1.679 GB, free: 261.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/2.692, allocations: 6.151 MB / 1.685 GB, free: 255.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003918/2.696, allocations: 1.481 MB / 1.687 GB, free: 253.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002263/2.698, allocations: 59.98 kB / 1.687 GB, free: 253.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005164/2.704, allocations: 258.2 kB / 1.687 GB, free: 253.5 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/2.704, allocations: 149.7 kB / 1.687 GB, free: 253.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003693/2.704, allocations: 115.9 kB / 1.687 GB, free: 253.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.009988/2.714, allocations: 6.561 MB / 1.694 GB, free: 246.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.4e-07/2.714, allocations: 0 / 1.694 GB, free: 246.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00624/2.721, allocations: 2.105 MB / 1.696 GB, free: 244.6 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.001873/2.723, allocations: 1.147 MB / 1.697 GB, free: 243.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006717/2.729, allocations: 3.867 MB / 1.701 GB, free: 239.7 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/2.729, allocations: 3.938 kB / 1.701 GB, free: 239.7 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/2.732, allocations: 1.7 MB / 1.702 GB, free: 238 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01835/2.75, allocations: 4.564 MB / 1.707 GB, free: 233.7 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/2.776, allocations: 16.4 MB / 1.723 GB, free: 217.2 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/2.781, allocations: 5.526 MB / 1.728 GB, free: 211.7 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.007632/2.788, allocations: 2.135 MB / 1.73 GB, free: 209.6 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001714/2.79, allocations: 0.5305 MB / 1.731 GB, free: 209 MB / 1.279 GB Notification: Performance of SimCode: time 7.62e-07/2.79, allocations: 0 / 1.731 GB, free: 209 MB / 1.279 GB Notification: Performance of Templates: time 0.2286/3.019, allocations: 157.5 MB / 1.885 GB, free: 52.95 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 -s cvode -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