Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") translateModel(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 111 kB / 16.41 MB, free: 6.469 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.001238/0.001238, allocations: 187 kB / 17.34 MB, free: 5.715 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.497/1.497, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 472.7 MB / 0.746 GB, free: 452 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8635/0.8648, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.0689/0.9337, allocations: 75.44 MB / 1.3 GB, free: 1.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.9517, allocations: 12.79 MB / 1.313 GB, free: 4.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.9547, allocations: 63.62 kB / 1.313 GB, free: 4.918 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.9572, allocations: 0.8618 MB / 1.314 GB, free: 4.051 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.9647, allocations: 2.613 MB / 1.316 GB, free: 1.426 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003941/0.9687, allocations: 1.408 MB / 1.317 GB, free: 32 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006808/0.9755, allocations: 4.411 MB / 1.322 GB, free: 11.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.9778, allocations: 1.441 MB / 1.323 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004205/0.982, allocations: 1.67 MB / 1.325 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.9843, allocations: 1.21 MB / 1.326 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002863/0.9846, allocations: 164 kB / 1.326 GB, free: 7.082 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003326/0.9879, allocations: 1.408 MB / 1.327 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004554/0.9884, allocations: 410.5 kB / 1.328 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.9896, allocations: 0.9099 MB / 1.329 GB, free: 4.355 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.9944, allocations: 2.897 MB / 1.332 GB, free: 1.453 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.9945, allocations: 0 / 1.332 GB, free: 1.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.956e-06/0.9945, allocations: 0 / 1.332 GB, free: 1.453 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.757e-05/0.9945, allocations: 0 / 1.332 GB, free: 1.453 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003882/0.9984, allocations: 2.167 MB / 1.334 GB, free: 15.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9985, allocations: 16.03 kB / 1.334 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008051/0.9993, allocations: 235.7 kB / 1.334 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/1.002, allocations: 1.55 MB / 1.335 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/1.002, allocations: 78 kB / 1.336 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/1.002, allocations: 100 kB / 1.336 GB, free: 13.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/1.004, allocations: 1.1 MB / 1.337 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/1.004, allocations: 3.953 kB / 1.337 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/1.004, allocations: 40 kB / 1.337 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/1.004, allocations: 31.94 kB / 1.337 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/1.006, allocations: 0.8822 MB / 1.338 GB, free: 11.1 MB / 1.061 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.006054/1.012, allocations: 4.94 MB / 1.342 GB, free: 5.875 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.013, allocations: 0.6003 MB / 1.343 GB, free: 5.266 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/1.014, allocations: 354.3 kB / 1.343 GB, free: 4.918 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/1.015, allocations: 0.8238 MB / 1.344 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.015, allocations: 39.12 kB / 1.344 GB, free: 3.863 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 2.876e-06/1.015, allocations: 0 / 1.344 GB, free: 3.863 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.007078/1.022, allocations: 1.721 MB / 1.346 GB, free: 2.113 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/1.022, allocations: 63.97 kB / 1.346 GB, free: 2.039 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.023, allocations: 1.255 MB / 1.347 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/1.024, allocations: 37.7 kB / 1.347 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/1.024, allocations: 0.6192 MB / 1.348 GB, free: 104 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/1.024, allocations: 222 kB / 1.348 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/1.025, allocations: 158.6 kB / 1.348 GB, free: 15.72 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.025, allocations: 334 kB / 1.349 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/1.025, allocations: 284.7 kB / 1.349 GB, free: 15.11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/1.026, allocations: 491.9 kB / 1.349 GB, free: 14.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/1.028, allocations: 0.709 MB / 1.35 GB, free: 13.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.028, allocations: 0 / 1.35 GB, free: 13.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004521/1.032, allocations: 1.266 MB / 1.351 GB, free: 12.51 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.032, allocations: 8.375 kB / 1.351 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.032, allocations: 7.984 kB / 1.351 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/1.033, allocations: 148.7 kB / 1.351 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/1.033, allocations: 155.8 kB / 1.352 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007972/1.034, allocations: 0.689 MB / 1.352 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.035, allocations: 135.3 kB / 1.352 GB, free: 11.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-05/1.035, allocations: 31.98 kB / 1.352 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001104/1.037, allocations: 0.5487 MB / 1.353 GB, free: 10.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000781/1.037, allocations: 497.6 kB / 1.353 GB, free: 10.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001305/1.039, allocations: 0.6973 MB / 1.354 GB, free: 9.461 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/1.039, allocations: 0 / 1.354 GB, free: 9.461 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004443/1.043, allocations: 1.266 MB / 1.355 GB, free: 8.184 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.043, allocations: 8 kB / 1.355 GB, free: 8.176 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/1.043, allocations: 4 kB / 1.355 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005221/1.044, allocations: 152.7 kB / 1.355 GB, free: 8.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/1.044, allocations: 155.8 kB / 1.356 GB, free: 7.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007431/1.045, allocations: 0.6967 MB / 1.356 GB, free: 7.145 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.046, allocations: 103.6 kB / 1.356 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/1.046, allocations: 31.98 kB / 1.356 GB, free: 7.012 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002648/1.046, allocations: 228 kB / 1.357 GB, free: 6.781 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/1.047, allocations: 147 kB / 1.357 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/1.051, allocations: 1.26 MB / 1.358 GB, free: 5.367 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/1.051, allocations: 11.98 kB / 1.358 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.051, allocations: 0 / 1.358 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0038/1.055, allocations: 1.095 MB / 1.359 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/1.062, allocations: 2.587 MB / 1.362 GB, free: 1.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.062, allocations: 4.438 kB / 1.362 GB, free: 1.516 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/1.062, allocations: 115.9 kB / 1.362 GB, free: 1.402 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/1.063, allocations: 140.7 kB / 1.362 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.895e-05/1.063, allocations: 19.94 kB / 1.362 GB, free: 1.242 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/1.067, allocations: 2.587 MB / 1.364 GB, free: 14.5 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.067, allocations: 11.88 kB / 1.364 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/1.072, allocations: 1.692 MB / 1.366 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/1.073, allocations: 315.9 kB / 1.366 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.073, allocations: 16 kB / 1.366 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007872/1.074, allocations: 59.94 kB / 1.366 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.074, allocations: 60.23 kB / 1.366 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.797e-05/1.074, allocations: 35.92 kB / 1.366 GB, free: 12.24 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001267/1.076, allocations: 0.906 MB / 1.367 GB, free: 11.33 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/1.076, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001888/1.077, allocations: 0.7291 MB / 1.368 GB, free: 10.6 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009468/1.078, allocations: 468 kB / 1.369 GB, free: 10.15 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00277/1.081, allocations: 1.114 MB / 1.37 GB, free: 9.039 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.081, allocations: 0 / 1.37 GB, free: 9.039 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/1.083, allocations: 0.5526 MB / 1.37 GB, free: 8.473 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/1.086, allocations: 0.8054 MB / 1.371 GB, free: 7.684 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/1.09, allocations: 2.36 MB / 1.373 GB, free: 5.234 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007336/1.091, allocations: 1.172 MB / 1.374 GB, free: 4.031 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/1.091, allocations: 119.4 kB / 1.375 GB, free: 3.914 MB / 1.092 GB Notification: Performance of SimCode: time 1.242e-06/1.091, allocations: 0 / 1.375 GB, free: 3.914 MB / 1.092 GB Notification: Performance of Templates: time 0.04269/1.134, allocations: 31.98 MB / 1.406 GB, free: 4.133 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_ModularReversible_Validation_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.ModularReversible.Validation.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches