Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001045/0.001045, allocations: 100.1 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.001294/0.001294, allocations: 177.3 kB / 15.95 MB, free: 216 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.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.668/2.668, allocations: 436.5 MB / 0.7104 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.0004161, allocations: 12 kB / 0.8708 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06099/0.8838, allocations: 62.99 MB / 1.082 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.8994, allocations: 11.01 MB / 1.093 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.9014, allocations: 51.62 kB / 1.093 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.9035, allocations: 0.7501 MB / 1.094 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.9092, allocations: 2.297 MB / 1.096 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.9129, allocations: 1.528 MB / 1.098 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003584/0.9165, allocations: 2.506 MB / 1.1 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.9178, allocations: 1.035 MB / 1.101 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.9197, allocations: 1.148 MB / 1.102 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.9207, allocations: 0.7777 MB / 1.103 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.9209, allocations: 60 kB / 1.103 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.9229, allocations: 0.8542 MB / 1.104 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.9232, allocations: 258.9 kB / 1.104 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.9235, allocations: 352.9 kB / 1.104 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.9256, allocations: 2.026 MB / 1.106 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.9256, allocations: 0 / 1.106 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9256, allocations: 0 / 1.106 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.931e-05/0.9256, allocations: 4 kB / 1.106 GB, free: 9.293 MB / 0.8575 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.003078/0.9287, allocations: 1.779 MB / 1.108 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.9288, allocations: 11.98 kB / 1.108 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007424/0.9295, allocations: 249.8 kB / 1.108 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.9317, allocations: 1.377 MB / 1.11 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.9317, allocations: 74 kB / 1.11 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.9319, allocations: 104 kB / 1.11 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.9337, allocations: 1.116 MB / 1.111 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.9338, allocations: 3.938 kB / 1.111 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.233e-05/0.9339, allocations: 36 kB / 1.111 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.9339, allocations: 24 kB / 1.111 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.9357, allocations: 0.9251 MB / 1.112 GB, free: 3.449 MB / 0.8575 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.005451/0.9412, allocations: 4.951 MB / 1.117 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.9425, allocations: 0.6623 MB / 1.117 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.9431, allocations: 0.8277 MB / 1.118 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.9431, allocations: 43.08 kB / 1.118 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=62): time 2.255e-06/0.9432, allocations: 0 / 1.118 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62): time 0.007072/0.9502, allocations: 1.885 MB / 1.12 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.9503, allocations: 59.91 kB / 1.12 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.9519, allocations: 1.245 MB / 1.121 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.9519, allocations: 45.7 kB / 1.121 GB, free: 9.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.9524, allocations: 0.6065 MB / 1.122 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.9526, allocations: 220.8 kB / 1.122 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.9527, allocations: 12 kB / 1.122 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.9528, allocations: 333.9 kB / 1.123 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.9535, allocations: 297.8 kB / 1.123 GB, free: 7.723 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008083/0.9543, allocations: 0.4912 MB / 1.123 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.955, allocations: 363 kB / 1.124 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.9551, allocations: 4 kB / 1.124 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004832/0.9599, allocations: 1.394 MB / 1.125 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006393/0.9605, allocations: 1.335 MB / 1.126 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.9606, allocations: 0 / 1.126 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/0.9613, allocations: 168.7 kB / 1.127 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.9619, allocations: 163.8 kB / 1.127 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008805/0.9628, allocations: 0.7318 MB / 1.127 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9641, allocations: 171 kB / 1.128 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.9642, allocations: 31.98 kB / 1.128 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.9642, allocations: 4 kB / 1.128 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004527/0.9688, allocations: 1.257 MB / 1.129 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9688, allocations: 0 / 1.129 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007394/0.9695, allocations: 172.8 kB / 1.129 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.9702, allocations: 159.8 kB / 1.129 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008608/0.9711, allocations: 0.7241 MB / 1.13 GB, free: 360 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.9725, allocations: 163.1 kB / 1.13 GB, free: 196 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.9726, allocations: 31.98 kB / 1.13 GB, free: 164 kB / 0.8731 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.0008874/0.9735, allocations: 420.9 kB / 1.13 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002998/0.9738, allocations: 138.3 kB / 1.131 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.9787, allocations: 1.416 MB / 1.132 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.9787, allocations: 11.98 kB / 1.132 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9787, allocations: 3.938 kB / 1.132 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004339/0.9831, allocations: 1.236 MB / 1.133 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/0.9908, allocations: 2.778 MB / 1.136 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.9908, allocations: 4 kB / 1.136 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005189/0.9914, allocations: 119.8 kB / 1.136 GB, free: 9.863 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006556/0.992, allocations: 161 kB / 1.136 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.9921, allocations: 16 kB / 1.136 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008425/0.993, allocations: 0.7201 MB / 1.137 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.993, allocations: 7.938 kB / 1.137 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.9988, allocations: 2.066 MB / 1.139 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.9997, allocations: 355.1 kB / 1.139 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/1, allocations: 16 kB / 1.139 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.001, allocations: 91.59 kB / 1.139 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.001, allocations: 56.33 kB / 1.139 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/1.001, allocations: 27.98 kB / 1.139 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001531/1.003, allocations: 0.905 MB / 1.14 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.21e-07/1.003, allocations: 0 / 1.14 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002173/1.005, allocations: 0.7096 MB / 1.141 GB, free: 4.477 MB / 0.8887 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.0009623/1.006, allocations: 461.8 kB / 1.141 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002673/1.009, allocations: 1.176 MB / 1.143 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.009, allocations: 0 / 1.143 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000933/1.01, allocations: 403.3 kB / 1.143 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.013, allocations: 0.7552 MB / 1.144 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/1.017, allocations: 2.758 MB / 1.146 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/1.018, allocations: 1.196 MB / 1.148 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001322/1.02, allocations: 303 kB / 1.148 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.02, allocations: 103.4 kB / 1.148 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of SimCode: time 1.954e-06/1.02, allocations: 0 / 1.148 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.05853/1.079, allocations: 29.87 MB / 1.177 GB, free: 15.75 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches