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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001535/0.001535, allocations: 195.6 kB / 16.14 MB, free: 6.641 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.716/2.716, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6615, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2582/0.9197, allocations: 235 MB / 1.246 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6966/1.616, allocations: 43.42 MB / 1.289 GB, free: 55.87 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/1.627, allocations: 220.6 kB / 1.289 GB, free: 55.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009947/1.637, allocations: 2.636 MB / 1.291 GB, free: 55.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02309/1.66, allocations: 7.204 MB / 1.298 GB, free: 55.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01637/1.677, allocations: 5.276 MB / 1.304 GB, free: 55.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0426/1.719, allocations: 33.29 MB / 1.336 GB, free: 50.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/1.736, allocations: 9.071 MB / 1.345 GB, free: 46.76 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01973/1.755, allocations: 7.393 MB / 1.352 GB, free: 43.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/1.769, allocations: 6.559 MB / 1.358 GB, free: 38.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00324/1.772, allocations: 412 kB / 1.359 GB, free: 38.26 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/1.785, allocations: 2.57 MB / 1.361 GB, free: 35.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004369/1.789, allocations: 1.923 MB / 1.363 GB, free: 33.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01263/1.802, allocations: 4.737 MB / 1.368 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02407/1.826, allocations: 18.36 MB / 1.386 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.826, allocations: 4 kB / 1.386 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/1.826, allocations: 3.938 kB / 1.386 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000614/1.827, allocations: 0 / 1.386 GB, free: 11.34 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.02874/1.855, allocations: 10.36 MB / 1.396 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.855, allocations: 8.031 kB / 1.396 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009368/1.865, allocations: 1.425 MB / 1.397 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/1.89, allocations: 11.16 MB / 1.408 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006751/1.891, allocations: 468.1 kB / 1.409 GB, free: 4.059 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/1.893, allocations: 0.5225 MB / 1.409 GB, free: 3.539 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/1.914, allocations: 7.316 MB / 1.416 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.914, allocations: 11.94 kB / 1.416 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001526/1.915, allocations: 202.7 kB / 1.417 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002427/1.916, allocations: 205.3 kB / 1.417 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/1.933, allocations: 6.337 MB / 1.423 GB, free: 5.293 MB / 1.029 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.06476/1.997, allocations: 34.53 MB / 1.457 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008534/2.006, allocations: 2.442 MB / 1.459 GB, free: 14.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005187/2.011, allocations: 1.799 MB / 1.461 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/2.014, allocations: 2.033 MB / 1.463 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005437/2.02, allocations: 1.831 MB / 1.465 GB, free: 8.246 MB / 1.076 GB Notification: Performance of pre-optimization done (n=220): time 1.1e-05/2.02, allocations: 3.984 kB / 1.465 GB, free: 8.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=220): time 0.01517/2.035, allocations: 4.946 MB / 1.469 GB, free: 3.285 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/2.035, allocations: 79.98 kB / 1.47 GB, free: 3.199 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02192/2.057, allocations: 8.958 MB / 1.478 GB, free: 10.26 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000834/2.058, allocations: 85.7 kB / 1.478 GB, free: 10.17 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.005995/2.064, allocations: 3.807 MB / 1.482 GB, free: 6.363 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/2.065, allocations: 0.7668 MB / 1.483 GB, free: 5.602 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002823/2.068, allocations: 0.7961 MB / 1.484 GB, free: 4.797 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001754/2.068, allocations: 309 kB / 1.484 GB, free: 4.492 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004627/2.073, allocations: 1.681 MB / 1.486 GB, free: 2.809 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/2.079, allocations: 3.297 MB / 1.489 GB, free: 14.88 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009264/2.088, allocations: 4.392 MB / 1.493 GB, free: 10.04 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.71e-05/2.088, allocations: 8 kB / 1.493 GB, free: 10.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01441/2.103, allocations: 5.151 MB / 1.498 GB, free: 4.828 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/2.103, allocations: 22.69 kB / 1.498 GB, free: 4.809 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/2.103, allocations: 28 kB / 1.498 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.35e-05/2.103, allocations: 52 kB / 1.498 GB, free: 4.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/2.107, allocations: 0.8463 MB / 1.499 GB, free: 3.883 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/2.107, allocations: 71.72 kB / 1.499 GB, free: 3.812 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008267/2.115, allocations: 0.8824 MB / 1.5 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/2.116, allocations: 167.9 kB / 1.5 GB, free: 2.762 MB / 1.107 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.006543/2.123, allocations: 3.078 MB / 1.503 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003036/2.126, allocations: 0.7292 MB / 1.504 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/2.137, allocations: 4.146 MB / 1.508 GB, free: 10.79 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/2.137, allocations: 24 kB / 1.508 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/2.137, allocations: 0 / 1.508 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00694/2.144, allocations: 3.231 MB / 1.511 GB, free: 7.492 MB / 1.123 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.02825/2.172, allocations: 10.98 MB / 1.522 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/2.172, allocations: 4 kB / 1.522 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/2.175, allocations: 0.5385 MB / 1.522 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-05/2.175, allocations: 12 kB / 1.522 GB, free: 11.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003458/2.175, allocations: 83.92 kB / 1.522 GB, free: 11.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/2.175, allocations: 8 kB / 1.522 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/2.175, allocations: 11.94 kB / 1.522 GB, free: 11.78 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/2.19, allocations: 6.111 MB / 1.528 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005816/2.196, allocations: 1.401 MB / 1.53 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/2.198, allocations: 59.97 kB / 1.53 GB, free: 4.117 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006434/2.205, allocations: 495 kB / 1.53 GB, free: 3.633 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004324/2.205, allocations: 149.7 kB / 1.53 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004708/2.206, allocations: 119.9 kB / 1.531 GB, free: 3.371 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.01789/2.224, allocations: 6.358 MB / 1.537 GB, free: 13.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 5.91e-07/2.224, allocations: 3.938 kB / 1.537 GB, free: 13.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.009806/2.234, allocations: 2.027 MB / 1.539 GB, free: 11 MB / 1.154 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.003291/2.237, allocations: 1.087 MB / 1.54 GB, free: 10.01 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009803/2.247, allocations: 3.84 MB / 1.544 GB, free: 6.176 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/2.247, allocations: 7.938 kB / 1.544 GB, free: 6.168 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004224/2.251, allocations: 1.697 MB / 1.545 GB, free: 4.473 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02692/2.278, allocations: 4.572 MB / 1.55 GB, free: 15.99 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04129/2.319, allocations: 18.88 MB / 1.568 GB, free: 13.12 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01053/2.33, allocations: 5.514 MB / 1.573 GB, free: 7.574 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.01098/2.341, allocations: 2.148 MB / 1.576 GB, free: 5.461 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002953/2.344, allocations: 0.5344 MB / 1.576 GB, free: 4.926 MB / 1.186 GB Notification: Performance of SimCode: time 1.142e-06/2.344, allocations: 0 / 1.576 GB, free: 4.926 MB / 1.186 GB Notification: Performance of Templates: time 0.283/2.627, allocations: 156.2 MB / 1.729 GB, free: 10.18 MB / 1.342 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=400 -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