Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.974/0.974, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.452/2.452, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1.y.[0-9,]+.|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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.454e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.04767/0.0477, allocations: 50.06 MB / 0.8875 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.04651/0.09421, allocations: 22.05 MB / 0.909 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00781/0.102, allocations: 376.8 kB / 0.9094 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.1053, allocations: 1.749 MB / 0.9111 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.009638/0.115, allocations: 6.097 MB / 0.9171 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.008231/0.1232, allocations: 6.672 MB / 0.9236 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.02404/0.1473, allocations: 27.94 MB / 0.9509 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.1593, allocations: 7.856 MB / 0.9585 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01919/0.1785, allocations: 12.99 MB / 0.9712 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008648/0.1871, allocations: 6.533 MB / 0.9776 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.001967/0.1891, allocations: 1.082 MB / 0.9787 GB, free: 14.42 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.1921, allocations: 1.686 MB / 0.9803 GB, free: 12.73 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.1938, allocations: 2.814 MB / 0.9831 GB, free: 9.91 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.004179/0.198, allocations: 3.847 MB / 0.9868 GB, free: 6.055 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.008832/0.2069, allocations: 9.608 MB / 0.9962 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2069, allocations: 3.938 kB / 0.9962 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2069, allocations: 0 / 0.9962 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000305/0.2072, allocations: 0 / 0.9962 GB, free: 12.41 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.0106/0.2178, allocations: 10.39 MB / 1.006 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2178, allocations: 8.625 kB / 1.006 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.2207, allocations: 1.529 MB / 1.008 GB, free: 392 kB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008461/0.2292, allocations: 6.724 MB / 1.014 GB, free: 9.508 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.2296, allocations: 0.5733 MB / 1.015 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007061/0.2303, allocations: 0.6132 MB / 1.016 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/0.2354, allocations: 4.681 MB / 1.02 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-05/0.2355, allocations: 23.81 kB / 1.02 GB, free: 3.203 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003358/0.2358, allocations: 208 kB / 1.02 GB, free: 3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.253e-05/0.2359, allocations: 140 kB / 1.02 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.2383, allocations: 1.619 MB / 1.022 GB, free: 1.211 MB / 0.9792 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.02228/0.2606, allocations: 17.26 MB / 1.039 GB, free: 15.54 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.2624, allocations: 0.9006 MB / 1.04 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.2635, allocations: 0.5462 MB / 1.04 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004813/0.264, allocations: 157.8 kB / 1.04 GB, free: 13.93 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.2658, allocations: 1.653 MB / 1.042 GB, free: 12.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=212): time 4.96e-06/0.2658, allocations: 0 / 1.042 GB, free: 12.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=212): time 0.004081/0.2699, allocations: 1.506 MB / 1.044 GB, free: 10.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.2699, allocations: 81.39 kB / 1.044 GB, free: 10.46 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009252/0.2792, allocations: 6.77 MB / 1.05 GB, free: 3.723 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.00038/0.2796, allocations: 121.7 kB / 1.05 GB, free: 3.598 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002433/0.282, allocations: 2.687 MB / 1.053 GB, free: 0.8828 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007829/0.2828, allocations: 0.7785 MB / 1.054 GB, free: 100 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.7369/1.02, allocations: 1.132 MB / 1.055 GB, free: 145.2 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 4.156e-05/1.02, allocations: 305.9 kB / 1.055 GB, free: 144.9 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.021, allocations: 0.5679 MB / 1.056 GB, free: 144.9 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/1.023, allocations: 5.01 MB / 1.061 GB, free: 139.3 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/1.026, allocations: 4.019 MB / 1.065 GB, free: 136.2 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.003e-05/1.026, allocations: 24.34 kB / 1.065 GB, free: 136.2 MB / 1.011 GB Notification: Performance of matching and sorting (n=634) (initialization): time 0.005182/1.032, allocations: 3.294 MB / 1.068 GB, free: 136.1 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/1.032, allocations: 40.89 kB / 1.068 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/1.032, allocations: 82.84 kB / 1.068 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/1.032, allocations: 113.1 kB / 1.068 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/1.035, allocations: 1.261 MB / 1.069 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001141/1.035, allocations: 166.9 kB / 1.069 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/1.038, allocations: 0.6801 MB / 1.07 GB, free: 136.1 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/1.038, allocations: 237.5 kB / 1.07 GB, free: 136.1 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * 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],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (634): * Single equations (assignments): 634 * 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.001631/1.04, allocations: 0.4983 MB / 1.071 GB, free: 136 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000896/1.041, allocations: 474.4 kB / 1.071 GB, free: 136 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/1.043, allocations: 1.693 MB / 1.073 GB, free: 135.8 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.043, allocations: 23.44 kB / 1.073 GB, free: 135.8 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/1.043, allocations: 1.094 kB / 1.073 GB, free: 135.8 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/1.045, allocations: 0.9213 MB / 1.074 GB, free: 135.5 MB / 1.011 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.007608/1.052, allocations: 5.663 MB / 1.079 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/1.052, allocations: 1.5 kB / 1.079 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.054, allocations: 0.5486 MB / 1.08 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.198e-05/1.054, allocations: 17.38 kB / 1.08 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/1.054, allocations: 65.36 kB / 1.08 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.054, allocations: 9.875 kB / 1.08 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.054, allocations: 9.906 kB / 1.08 GB, free: 135 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/1.057, allocations: 2.036 MB / 1.082 GB, free: 134.6 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.058, allocations: 0.9789 MB / 1.083 GB, free: 134.6 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/1.059, allocations: 55.3 kB / 1.083 GB, free: 134.6 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.06, allocations: 142.7 kB / 1.083 GB, free: 134.6 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000871/1.061, allocations: 0.6657 MB / 1.084 GB, free: 134.6 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.061, allocations: 81.03 kB / 1.084 GB, free: 134.6 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.003327/1.065, allocations: 3.014 MB / 1.087 GB, free: 134.4 MB / 1.011 GB Notification: Performance of sort global known variables: time 1.81e-07/1.065, allocations: 0 / 1.087 GB, free: 134.4 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.004733/1.07, allocations: 2.076 MB / 1.089 GB, free: 134.4 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (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].actPos.y,chi.valEva.val[2].actPos.y,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].actPos.y,chi.valCon.val[2].actPos.y,chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,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 (222): * Single equations (assignments): 209 * 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.0008758/1.07, allocations: 393.4 kB / 1.089 GB, free: 134.3 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.003337/1.074, allocations: 2.035 MB / 1.091 GB, free: 134.2 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 0.0001053/1.074, allocations: 93.22 kB / 1.091 GB, free: 134.2 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007636/1.075, allocations: 0.5972 MB / 1.092 GB, free: 134.2 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008182/1.083, allocations: 4.237 MB / 1.096 GB, free: 133.6 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.098, allocations: 13.01 MB / 1.109 GB, free: 128.1 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/1.1, allocations: 1.88 MB / 1.111 GB, free: 127.8 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.004595/1.104, allocations: 1.217 MB / 1.112 GB, free: 127.5 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004874/1.109, allocations: 2.336 MB / 1.114 GB, free: 127.4 MB / 1.011 GB Notification: Performance of SimCode: time 2.655e-06/1.109, allocations: 0 / 1.114 GB, free: 127.4 MB / 1.011 GB Notification: Performance of Templates: time 0.1382/1.247, allocations: 145.2 MB / 1.256 GB, free: 12.84 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.973604185972363]