Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_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 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.Fluid.Chillers.Validation.Carnot_y_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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008662/0.0008661, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009841/0.0009842, allocations: 168.7 kB / 15.95 MB, free: 204 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.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.845/2.845, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004146, allocations: 16 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.7018, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07269/0.7745, allocations: 69.44 MB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01826/0.7928, allocations: 11.96 MB / 1.102 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.7957, allocations: 55.62 kB / 1.102 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.7981, allocations: 0.5666 MB / 1.102 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008317/0.8064, allocations: 1.892 MB / 1.104 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.8104, allocations: 0.9669 MB / 1.105 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007564/0.818, allocations: 4.793 MB / 1.11 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.8206, allocations: 1.015 MB / 1.111 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.824, allocations: 1.264 MB / 1.112 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.8265, allocations: 1.066 MB / 1.113 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0005416/0.8271, allocations: 56 kB / 1.113 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.8306, allocations: 0.9355 MB / 1.114 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006855/0.8313, allocations: 270.7 kB / 1.114 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001036/0.8324, allocations: 360.9 kB / 1.115 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.836, allocations: 2.089 MB / 1.117 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8361, allocations: 4 kB / 1.117 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8361, allocations: 0 / 1.117 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001/0.8362, allocations: 0 / 1.117 GB, free: 15.04 MB / 0.8731 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.005217/0.8414, allocations: 1.799 MB / 1.119 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.8415, allocations: 11.98 kB / 1.119 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.8427, allocations: 241.9 kB / 1.119 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.8463, allocations: 1.448 MB / 1.12 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.399e-05/0.8464, allocations: 77.98 kB / 1.12 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.8467, allocations: 100 kB / 1.12 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.8497, allocations: 1.12 MB / 1.122 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.835e-05/0.8497, allocations: 7.922 kB / 1.122 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.8499, allocations: 40 kB / 1.122 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.779e-05/0.85, allocations: 35.98 kB / 1.122 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.8523, allocations: 0.9173 MB / 1.122 GB, free: 9.098 MB / 0.8731 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.007721/0.86, allocations: 4.908 MB / 1.127 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.8615, allocations: 0.644 MB / 1.128 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007289/0.8622, allocations: 366.3 kB / 1.128 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007261/0.863, allocations: 0.8355 MB / 1.129 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.863, allocations: 43.12 kB / 1.129 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.863, allocations: 0 / 1.129 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.006935/0.87, allocations: 1.892 MB / 1.131 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.87, allocations: 55.97 kB / 1.131 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.8722, allocations: 1.198 MB / 1.132 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.8724, allocations: 41.7 kB / 1.132 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006675/0.873, allocations: 0.6064 MB / 1.133 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.8734, allocations: 216.9 kB / 1.133 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.8735, allocations: 16 kB / 1.133 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.8736, allocations: 334 kB / 1.133 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.8744, allocations: 297.8 kB / 1.134 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009492/0.8754, allocations: 0.4965 MB / 1.134 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/0.8762, allocations: 359 kB / 1.134 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.8762, allocations: 0 / 1.134 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004623/0.8809, allocations: 1.402 MB / 1.136 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001721/0.8811, allocations: 193.3 kB / 1.136 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.8811, allocations: 4 kB / 1.136 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007277/0.8818, allocations: 164.7 kB / 1.136 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.8825, allocations: 167.8 kB / 1.136 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009302/0.8834, allocations: 0.7318 MB / 1.137 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.8847, allocations: 164.9 kB / 1.137 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.794e-05/0.8848, allocations: 35.98 kB / 1.137 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.8849, allocations: 7.953 kB / 1.137 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004159/0.889, allocations: 1.249 MB / 1.138 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.8891, allocations: 7.984 kB / 1.138 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.8896, allocations: 169.1 kB / 1.139 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.8903, allocations: 167.7 kB / 1.139 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008486/0.8911, allocations: 0.7202 MB / 1.14 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.8923, allocations: 155.2 kB / 1.14 GB, free: 6.742 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.713e-05/0.8924, allocations: 35.98 kB / 1.14 GB, free: 6.707 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006864/0.8931, allocations: 428.8 kB / 1.14 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.8935, allocations: 134.3 kB / 1.14 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004493/0.898, allocations: 1.404 MB / 1.142 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.898, allocations: 4 kB / 1.142 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.898, allocations: 4 kB / 1.142 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003934/0.902, allocations: 1.248 MB / 1.143 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006862/0.9088, allocations: 2.75 MB / 1.146 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.9089, allocations: 4 kB / 1.146 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.9094, allocations: 120.2 kB / 1.146 GB, free: 460 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000615/0.91, allocations: 164.7 kB / 1.146 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.9101, allocations: 23.98 kB / 1.146 GB, free: 268 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008456/0.911, allocations: 0.7272 MB / 1.147 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.911, allocations: 4 kB / 1.147 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.9162, allocations: 1.852 MB / 1.148 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.9172, allocations: 327.1 kB / 1.149 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/0.9178, allocations: 24 kB / 1.149 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.9191, allocations: 91.91 kB / 1.149 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.9192, allocations: 52.27 kB / 1.149 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/0.9193, allocations: 39.97 kB / 1.149 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001696/0.921, allocations: 0.8543 MB / 1.15 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.11e-07/0.921, allocations: 0 / 1.15 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002654/0.9237, allocations: 0.7056 MB / 1.15 GB, free: 11.48 MB / 0.9044 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 (55): * Single equations (assignments): 50 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.9249, allocations: 439.1 kB / 1.151 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002815/0.9277, allocations: 1.164 MB / 1.152 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.9277, allocations: 0 / 1.152 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.9287, allocations: 407.3 kB / 1.152 GB, free: 9.488 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004223/0.9329, allocations: 0.7545 MB / 1.153 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00549/0.9384, allocations: 2.775 MB / 1.156 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.9395, allocations: 1.168 MB / 1.157 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001598/0.9411, allocations: 306.2 kB / 1.157 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.9415, allocations: 107.4 kB / 1.157 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of SimCode: time 6.91e-07/0.9415, allocations: 0 / 1.157 GB, free: 4.293 MB / 0.9044 GB Notification: Performance of Templates: time 0.05134/0.9928, allocations: 29.2 MB / 1.186 GB, free: 7.465 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches