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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001498/0.001498, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001741/0.001741, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.371/2.371, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 64.67 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6729/0.9592, allocations: 236.5 MB / 1.25 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.05774/1.017, allocations: 43.38 MB / 1.292 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00836/1.025, allocations: 234.6 kB / 1.292 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009074/1.035, allocations: 3.19 MB / 1.295 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.02061/1.055, allocations: 7.748 MB / 1.303 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01314/1.068, allocations: 5.744 MB / 1.309 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03161/1.1, allocations: 26.71 MB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01502/1.115, allocations: 11.5 MB / 1.346 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0207/1.136, allocations: 9.597 MB / 1.355 GB, free: 3.156 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01111/1.147, allocations: 6.866 MB / 1.362 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.002688/1.15, allocations: 1.066 MB / 1.363 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00907/1.159, allocations: 3.476 MB / 1.366 GB, free: 7.715 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003117/1.162, allocations: 2.637 MB / 1.369 GB, free: 5.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007871/1.17, allocations: 5.543 MB / 1.374 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02035/1.19, allocations: 18.97 MB / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.19, allocations: 3.938 kB / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.904e-06/1.19, allocations: 0 / 1.393 GB, free: 12.48 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004338/1.191, allocations: 0 / 1.393 GB, free: 12.48 MB / 1.092 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.02367/1.214, allocations: 10.37 MB / 1.403 GB, free: 2.012 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.214, allocations: 12.92 kB / 1.403 GB, free: 2 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006483/1.221, allocations: 1.363 MB / 1.404 GB, free: 0.625 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/1.241, allocations: 10.98 MB / 1.415 GB, free: 5.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004255/1.241, allocations: 470.1 kB / 1.416 GB, free: 5.098 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001279/1.243, allocations: 0.5194 MB / 1.416 GB, free: 4.578 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/1.256, allocations: 7.272 MB / 1.423 GB, free: 13.13 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/1.257, allocations: 15.83 kB / 1.423 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005275/1.257, allocations: 204 kB / 1.423 GB, free: 12.92 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001657/1.257, allocations: 201.4 kB / 1.424 GB, free: 12.72 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/1.269, allocations: 6.251 MB / 1.43 GB, free: 6.453 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 preOpt removeSimpleEquations (simulation): time 0.05184/1.321, allocations: 33.9 MB / 1.463 GB, free: 2.512 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004977/1.326, allocations: 2.388 MB / 1.465 GB, free: 112 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003605/1.33, allocations: 1.775 MB / 1.467 GB, free: 14.34 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/1.332, allocations: 2.032 MB / 1.469 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003794/1.335, allocations: 1.8 MB / 1.471 GB, free: 10.05 MB / 1.17 GB Notification: Performance of pre-optimization done (n=220): time 4.318e-06/1.335, allocations: 4 kB / 1.471 GB, free: 10.05 MB / 1.17 GB Notification: Performance of matching and sorting (n=220): time 0.01095/1.346, allocations: 4.872 MB / 1.475 GB, free: 5.164 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.347, allocations: 73.41 kB / 1.475 GB, free: 5.082 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0163/1.363, allocations: 9.227 MB / 1.484 GB, free: 11.87 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007218/1.364, allocations: 89.7 kB / 1.485 GB, free: 11.78 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00425/1.368, allocations: 3.78 MB / 1.488 GB, free: 7.977 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.369, allocations: 0.7704 MB / 1.489 GB, free: 7.195 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/1.37, allocations: 0.7922 MB / 1.49 GB, free: 6.395 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/1.37, allocations: 309.1 kB / 1.49 GB, free: 6.09 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/1.374, allocations: 1.665 MB / 1.492 GB, free: 4.422 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/1.378, allocations: 3.28 MB / 1.495 GB, free: 0.5078 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007616/1.386, allocations: 4.354 MB / 1.499 GB, free: 11.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.44e-05/1.386, allocations: 8 kB / 1.499 GB, free: 11.69 MB / 1.201 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01097/1.397, allocations: 5.117 MB / 1.504 GB, free: 6.516 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.397, allocations: 20 kB / 1.504 GB, free: 6.496 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/1.397, allocations: 32 kB / 1.504 GB, free: 6.465 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.548e-05/1.397, allocations: 48 kB / 1.504 GB, free: 6.418 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.401, allocations: 0.8387 MB / 1.505 GB, free: 5.578 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.359e-05/1.401, allocations: 71.72 kB / 1.505 GB, free: 5.508 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00603/1.407, allocations: 0.6209 MB / 1.506 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004503/1.407, allocations: 167.9 kB / 1.506 GB, free: 4.719 MB / 1.201 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.005247/1.412, allocations: 3.062 MB / 1.509 GB, free: 1.645 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002516/1.415, allocations: 0.7331 MB / 1.51 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008496/1.423, allocations: 4.092 MB / 1.514 GB, free: 12.82 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.424, allocations: 24 kB / 1.514 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/1.424, allocations: 0 / 1.514 GB, free: 12.8 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00579/1.429, allocations: 3.18 MB / 1.517 GB, free: 9.562 MB / 1.217 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.0203/1.45, allocations: 11.22 MB / 1.528 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/1.45, allocations: 0 / 1.528 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/1.452, allocations: 0.5308 MB / 1.528 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/1.452, allocations: 8 kB / 1.528 GB, free: 13.65 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/1.453, allocations: 91.88 kB / 1.528 GB, free: 13.56 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/1.453, allocations: 11.94 kB / 1.528 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.453, allocations: 4 kB / 1.528 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.464, allocations: 6.03 MB / 1.534 GB, free: 7.453 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004046/1.468, allocations: 1.433 MB / 1.536 GB, free: 5.992 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/1.469, allocations: 63.97 kB / 1.536 GB, free: 5.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004006/1.473, allocations: 255.5 kB / 1.536 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003054/1.474, allocations: 149.7 kB / 1.536 GB, free: 5.535 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/1.474, allocations: 115.9 kB / 1.536 GB, free: 5.422 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.8367/2.311, allocations: 6.555 MB / 1.543 GB, free: 423 MB / 1.233 GB Notification: Performance of sort global known variables: time 4.71e-07/2.311, allocations: 0 / 1.543 GB, free: 423 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.007053/2.318, allocations: 2.081 MB / 1.545 GB, free: 423 MB / 1.233 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.002176/2.32, allocations: 1.137 MB / 1.546 GB, free: 422.9 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.007631/2.328, allocations: 3.818 MB / 1.549 GB, free: 422.2 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.328, allocations: 2.344 kB / 1.549 GB, free: 422.2 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.003286/2.331, allocations: 1.669 MB / 1.551 GB, free: 421.6 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01937/2.35, allocations: 4.565 MB / 1.556 GB, free: 420.6 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/2.378, allocations: 16.13 MB / 1.571 GB, free: 413.5 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007078/2.385, allocations: 5.517 MB / 1.577 GB, free: 411.5 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.008695/2.394, allocations: 2.131 MB / 1.579 GB, free: 411.2 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/2.396, allocations: 0.5366 MB / 1.579 GB, free: 411.1 MB / 1.233 GB Notification: Performance of SimCode: time 7.01e-07/2.396, allocations: 1.062 kB / 1.579 GB, free: 411.1 MB / 1.233 GB Notification: Performance of Templates: time 0.1969/2.593, allocations: 155.1 MB / 1.731 GB, free: 282.3 MB / 1.233 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 gbode -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