Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Fluid.Chillers.Validation.Carnot_TEva_etaPL,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.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,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.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.0009881, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009823/0.0009823, allocations: 177.3 kB / 15.94 MB, free: 228 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.451/1.451, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004601, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8665/0.867, allocations: 142.3 MB / 0.9535 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05308/0.9201, allocations: 51.34 MB / 1.004 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.9369, allocations: 10.3 MB / 1.014 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002591/0.9395, allocations: 51.62 kB / 1.014 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.9419, allocations: 0.6335 MB / 1.014 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007133/0.9491, allocations: 1.947 MB / 1.016 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003862/0.9529, allocations: 1.306 MB / 1.018 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003984/0.9569, allocations: 1.851 MB / 1.019 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.9583, allocations: 0.8076 MB / 1.02 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/0.9605, allocations: 0.9886 MB / 1.021 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009127/0.9614, allocations: 0.5988 MB / 1.022 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.9615, allocations: 44 kB / 1.022 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.9638, allocations: 1.018 MB / 1.023 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.964, allocations: 195.2 kB / 1.023 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.9643, allocations: 289 kB / 1.023 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.9663, allocations: 1.598 MB / 1.025 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.9663, allocations: 7.875 kB / 1.025 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9663, allocations: 0 / 1.025 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.9663, allocations: 0 / 1.025 GB, free: 7.062 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002754/0.9691, allocations: 1.489 MB / 1.026 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.9692, allocations: 8.031 kB / 1.026 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.9709, allocations: 390 kB / 1.027 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.9728, allocations: 1.047 MB / 1.028 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.9732, allocations: 129.9 kB / 1.028 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.9734, allocations: 80 kB / 1.028 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.9752, allocations: 0.9583 MB / 1.029 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.9753, allocations: 3.938 kB / 1.029 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.9753, allocations: 32 kB / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.9754, allocations: 20 kB / 1.029 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.9774, allocations: 0.843 MB / 1.03 GB, free: 1.918 MB / 0.7794 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.006526/0.984, allocations: 4.835 MB / 1.034 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.9856, allocations: 0.6113 MB / 1.035 GB, free: 12.11 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.987, allocations: 1.392 MB / 1.036 GB, free: 10.42 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.987, allocations: 38.56 kB / 1.036 GB, free: 10.38 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.987, allocations: 3.938 kB / 1.036 GB, free: 10.37 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.006251/0.9933, allocations: 1.671 MB / 1.038 GB, free: 8.672 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.9934, allocations: 63.36 kB / 1.038 GB, free: 8.598 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.995, allocations: 1.067 MB / 1.039 GB, free: 7.516 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.867e-05/0.9951, allocations: 37.7 kB / 1.039 GB, free: 7.473 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004506/0.9956, allocations: 0.5197 MB / 1.04 GB, free: 6.949 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.9957, allocations: 157.7 kB / 1.04 GB, free: 6.793 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.9958, allocations: 15.94 kB / 1.04 GB, free: 6.777 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9959, allocations: 322 kB / 1.04 GB, free: 6.457 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.9967, allocations: 284.9 kB / 1.04 GB, free: 6.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008863/0.9976, allocations: 487.7 kB / 1.041 GB, free: 5.629 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.9984, allocations: 327.3 kB / 1.041 GB, free: 5.309 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9984, allocations: 0 / 1.041 GB, free: 5.309 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002449/1.001, allocations: 0.9612 MB / 1.042 GB, free: 4.336 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006195/1.001, allocations: 1.493 MB / 1.044 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.002, allocations: 8 kB / 1.044 GB, free: 2.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/1.003, allocations: 346.8 kB / 1.044 GB, free: 2.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/1.003, allocations: 115.8 kB / 1.044 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/1.005, allocations: 0.927 MB / 1.045 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/1.006, allocations: 191.1 kB / 1.045 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.816e-05/1.007, allocations: 35.92 kB / 1.045 GB, free: 1.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.007, allocations: 4 kB / 1.045 GB, free: 1.094 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/1.009, allocations: 0.828 MB / 1.046 GB, free: 268 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.009, allocations: 8.094 kB / 1.046 GB, free: 260 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.01, allocations: 338.3 kB / 1.046 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/1.01, allocations: 111.8 kB / 1.046 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/1.012, allocations: 0.9271 MB / 1.047 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.013, allocations: 163.3 kB / 1.047 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/1.013, allocations: 27.98 kB / 1.047 GB, free: 14.67 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006099/1.014, allocations: 353 kB / 1.048 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/1.014, allocations: 110.6 kB / 1.048 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/1.016, allocations: 0.9438 MB / 1.049 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.016, allocations: 4 kB / 1.049 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.016, allocations: 3.953 kB / 1.049 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.016, allocations: 3.984 kB / 1.049 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/1.022, allocations: 2.339 MB / 1.051 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.022, allocations: 288 / 1.051 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/1.022, allocations: 63.91 kB / 1.051 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/1.023, allocations: 317.5 kB / 1.051 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/1.023, allocations: 19.98 kB / 1.051 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.025, allocations: 0.9712 MB / 1.052 GB, free: 9.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.025, allocations: 4 kB / 1.052 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/1.029, allocations: 1.468 MB / 1.054 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/1.03, allocations: 287.4 kB / 1.054 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/1.03, allocations: 23.95 kB / 1.054 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009616/1.031, allocations: 99.84 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/1.031, allocations: 35.94 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/1.031, allocations: 23.98 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001231/1.032, allocations: 0.7508 MB / 1.055 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.774e-06/1.032, allocations: 3.938 kB / 1.055 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001767/1.034, allocations: 0.5809 MB / 1.056 GB, free: 6.031 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008638/1.035, allocations: 401.6 kB / 1.056 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002934/1.038, allocations: 1.063 MB / 1.057 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.038, allocations: 0 / 1.057 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008131/1.039, allocations: 338.4 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.041, allocations: 0.495 MB / 1.058 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/1.046, allocations: 2.23 MB / 1.06 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009734/1.047, allocations: 1.089 MB / 1.061 GB, free: 360 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001098/1.048, allocations: 216.6 kB / 1.061 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/1.048, allocations: 79.42 kB / 1.061 GB, free: 60 kB / 0.8106 GB Notification: Performance of SimCode: time 6.61e-07/1.048, allocations: 4 kB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of Templates: time 0.04408/1.092, allocations: 23.57 MB / 1.084 GB, free: 8.766 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches