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.001183/0.001183, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001868/0.001868, allocations: 168.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.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.877/2.877, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004072, allocations: 13.67 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3933, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 1.035/1.429, allocations: 218.7 MB / 1.272 GB, free: 51.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.06323/1.492, allocations: 40.82 MB / 1.312 GB, free: 51.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/1.504, allocations: 206.7 kB / 1.312 GB, free: 51.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01027/1.514, allocations: 2.133 MB / 1.314 GB, free: 51.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02796/1.542, allocations: 5.804 MB / 1.319 GB, free: 50.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0157/1.558, allocations: 3.759 MB / 1.323 GB, free: 50.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04125/1.599, allocations: 28.38 MB / 1.351 GB, free: 46.33 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01607/1.615, allocations: 7.098 MB / 1.358 GB, free: 43.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02349/1.639, allocations: 6.929 MB / 1.365 GB, free: 41.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01617/1.655, allocations: 5.887 MB / 1.37 GB, free: 38.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003705/1.659, allocations: 320.2 kB / 1.371 GB, free: 38.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/1.673, allocations: 1.708 MB / 1.372 GB, free: 37.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005063/1.678, allocations: 1.689 MB / 1.374 GB, free: 36.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007393/1.685, allocations: 2.037 MB / 1.376 GB, free: 35.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02078/1.706, allocations: 15.35 MB / 1.391 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/1.706, allocations: 0 / 1.391 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.016e-06/1.706, allocations: 0 / 1.391 GB, free: 21.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0006312/1.707, allocations: 8 kB / 1.391 GB, free: 21.65 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.02383/1.731, allocations: 8.348 MB / 1.399 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.731, allocations: 8.031 kB / 1.399 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008631/1.739, allocations: 1.389 MB / 1.4 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02572/1.765, allocations: 10.87 MB / 1.411 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006661/1.766, allocations: 469.6 kB / 1.411 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/1.769, allocations: 0.523 MB / 1.412 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/1.793, allocations: 7.262 MB / 1.419 GB, free: 8.824 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/1.793, allocations: 7.938 kB / 1.419 GB, free: 8.816 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/1.795, allocations: 208 kB / 1.419 GB, free: 8.613 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/1.795, allocations: 197.3 kB / 1.419 GB, free: 8.418 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/1.813, allocations: 6.258 MB / 1.426 GB, free: 2.148 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 preOpt removeSimpleEquations (simulation): time 0.06836/1.881, allocations: 34.43 MB / 1.459 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005995/1.887, allocations: 2.404 MB / 1.462 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004356/1.892, allocations: 1.775 MB / 1.463 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00232/1.894, allocations: 2.046 MB / 1.465 GB, free: 7.117 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004895/1.899, allocations: 1.815 MB / 1.467 GB, free: 5.285 MB / 1.061 GB Notification: Performance of pre-optimization done (n=220): time 6.472e-06/1.899, allocations: 0 / 1.467 GB, free: 5.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=220): time 0.01483/1.914, allocations: 4.913 MB / 1.472 GB, free: 372 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/1.914, allocations: 77.41 kB / 1.472 GB, free: 284 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02546/1.94, allocations: 8.88 MB / 1.481 GB, free: 7.418 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.941, allocations: 85.7 kB / 1.481 GB, free: 7.328 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.006232/1.947, allocations: 3.812 MB / 1.484 GB, free: 3.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001761/1.949, allocations: 0.7685 MB / 1.485 GB, free: 2.758 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/1.949, allocations: 64 kB / 1.485 GB, free: 2.695 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002994/1.949, allocations: 436.8 kB / 1.486 GB, free: 2.262 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/1.953, allocations: 1.665 MB / 1.487 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005341/1.958, allocations: 3.276 MB / 1.49 GB, free: 12.69 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/1.963, allocations: 2.145 MB / 1.493 GB, free: 10.52 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.14e-05/1.963, allocations: 8 kB / 1.493 GB, free: 10.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01306/1.976, allocations: 5.109 MB / 1.498 GB, free: 5.352 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/1.976, allocations: 23.95 kB / 1.498 GB, free: 5.328 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.777e-05/1.976, allocations: 32 kB / 1.498 GB, free: 5.297 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.406e-05/1.976, allocations: 52 kB / 1.498 GB, free: 5.246 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/1.98, allocations: 0.8542 MB / 1.498 GB, free: 4.391 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.179e-05/1.98, allocations: 75.77 kB / 1.499 GB, free: 4.316 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009281/1.989, allocations: 0.8819 MB / 1.499 GB, free: 3.441 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009936/1.99, allocations: 168 kB / 1.5 GB, free: 3.277 MB / 1.092 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.y1[1],chi.com.y1One,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.009035/1.999, allocations: 3.062 MB / 1.503 GB, free: 208 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003624/2.003, allocations: 0.7256 MB / 1.503 GB, free: 15.46 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/2.014, allocations: 4.128 MB / 1.507 GB, free: 11.35 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/2.014, allocations: 27.98 kB / 1.507 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/2.014, allocations: 0 / 1.507 GB, free: 11.32 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005902/2.02, allocations: 3.209 MB / 1.51 GB, free: 8.066 MB / 1.107 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.02873/2.049, allocations: 10.9 MB / 1.521 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/2.049, allocations: 7.953 kB / 1.521 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/2.052, allocations: 0.5424 MB / 1.522 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.987e-05/2.052, allocations: 12 kB / 1.522 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002067/2.052, allocations: 79.94 kB / 1.522 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/2.052, allocations: 12 kB / 1.522 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/2.052, allocations: 0 / 1.522 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01229/2.064, allocations: 6.068 MB / 1.528 GB, free: 6.301 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005852/2.07, allocations: 1.54 MB / 1.529 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002877/2.073, allocations: 55.98 kB / 1.529 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006789/2.08, allocations: 498.8 kB / 1.53 GB, free: 4.199 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005627/2.08, allocations: 149.8 kB / 1.53 GB, free: 4.055 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004916/2.081, allocations: 116.1 kB / 1.53 GB, free: 3.941 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01557/2.096, allocations: 6.291 MB / 1.536 GB, free: 13.68 MB / 1.139 GB Notification: Performance of sort global known variables: time 6.31e-07/2.096, allocations: 3.938 kB / 1.536 GB, free: 13.67 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.01022/2.107, allocations: 2.019 MB / 1.538 GB, free: 11.65 MB / 1.139 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.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 (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.002767/2.11, allocations: 1.052 MB / 1.539 GB, free: 10.72 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009372/2.119, allocations: 3.813 MB / 1.543 GB, free: 6.91 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/2.119, allocations: 8.062 kB / 1.543 GB, free: 6.902 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003702/2.123, allocations: 1.675 MB / 1.544 GB, free: 5.223 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02545/2.148, allocations: 4.574 MB / 1.549 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/2.186, allocations: 18.34 MB / 1.567 GB, free: 14.39 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007927/2.194, allocations: 5.514 MB / 1.572 GB, free: 8.852 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.01035/2.204, allocations: 2.147 MB / 1.574 GB, free: 6.734 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/2.207, allocations: 0.5266 MB / 1.575 GB, free: 6.207 MB / 1.17 GB Notification: Performance of SimCode: time 8.31e-07/2.207, allocations: 0 / 1.575 GB, free: 6.207 MB / 1.17 GB Notification: Performance of Templates: time 0.2955/2.502, allocations: 151.4 MB / 1.723 GB, free: 296 kB / 1.311 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches