Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_TEva_LimitedCapacity,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, 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.001425/0.001425, 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.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004572, allocations: 12 kB / 0.8708 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8091, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.04732/0.8565, allocations: 51.32 MB / 1.071 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.8705, allocations: 10.32 MB / 1.081 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.8723, allocations: 51.69 kB / 1.081 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.8744, allocations: 0.6296 MB / 1.082 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005728/0.8802, allocations: 1.948 MB / 1.084 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003675/0.8838, allocations: 1.307 MB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.8877, allocations: 1.859 MB / 1.087 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.8891, allocations: 0.7999 MB / 1.087 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.8912, allocations: 0.9886 MB / 1.088 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/0.8921, allocations: 0.5949 MB / 1.089 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.8922, allocations: 40 kB / 1.089 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.8945, allocations: 1.014 MB / 1.09 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.8947, allocations: 191.2 kB / 1.09 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.895, allocations: 285 kB / 1.09 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.8973, allocations: 1.586 MB / 1.092 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.8973, allocations: 0 / 1.092 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.489e-06/0.8974, allocations: 3.938 kB / 1.092 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.8974, allocations: 0 / 1.092 GB, free: 8.02 MB / 0.8419 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.00326/0.9007, allocations: 1.485 MB / 1.093 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.9007, allocations: 11.98 kB / 1.093 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.9026, allocations: 390 kB / 1.094 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.9048, allocations: 1.043 MB / 1.095 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.9052, allocations: 133.9 kB / 1.095 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.9053, allocations: 80 kB / 1.095 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.9072, allocations: 0.9621 MB / 1.096 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.9072, allocations: 0 / 1.096 GB, free: 3.766 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.9073, allocations: 35.94 kB / 1.096 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.9074, allocations: 16 kB / 1.096 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.9093, allocations: 0.8392 MB / 1.097 GB, free: 2.879 MB / 0.8419 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.006207/0.9155, allocations: 4.831 MB / 1.102 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.9171, allocations: 0.6054 MB / 1.102 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.9185, allocations: 1.388 MB / 1.104 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.9185, allocations: 38.5 kB / 1.104 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 2.424e-06/0.9185, allocations: 0 / 1.104 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.00676/0.9253, allocations: 1.834 MB / 1.105 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.9254, allocations: 55.41 kB / 1.105 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.9269, allocations: 1.067 MB / 1.106 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.927, allocations: 33.7 kB / 1.107 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.9274, allocations: 0.5312 MB / 1.107 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.9275, allocations: 153.8 kB / 1.107 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.9275, allocations: 16 kB / 1.107 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.9277, allocations: 325.9 kB / 1.108 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.9284, allocations: 284.9 kB / 1.108 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008643/0.9293, allocations: 491.3 kB / 1.108 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007957/0.9301, allocations: 315.8 kB / 1.109 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9301, allocations: 0 / 1.109 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002416/0.9325, allocations: 0.9763 MB / 1.11 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005001/0.933, allocations: 1.58 MB / 1.111 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.9331, allocations: 4 kB / 1.111 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.9344, allocations: 340.6 kB / 1.111 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.9348, allocations: 115.8 kB / 1.111 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.9363, allocations: 0.931 MB / 1.112 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.9375, allocations: 175.2 kB / 1.113 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.305e-05/0.9376, allocations: 27.98 kB / 1.113 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.9377, allocations: 4 kB / 1.113 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002144/0.9398, allocations: 0.8474 MB / 1.113 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9398, allocations: 4 kB / 1.113 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.9409, allocations: 331.7 kB / 1.114 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.9414, allocations: 115.8 kB / 1.114 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.9428, allocations: 0.9387 MB / 1.115 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.944, allocations: 163.3 kB / 1.115 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.944, allocations: 24 kB / 1.115 GB, free: 15.38 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0005674/0.9446, allocations: 356.9 kB / 1.115 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.9448, allocations: 110.6 kB / 1.115 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.9476, allocations: 1.074 MB / 1.116 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.9477, allocations: 7.984 kB / 1.116 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9477, allocations: 4 kB / 1.116 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.9477, allocations: 0 / 1.116 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/0.9524, allocations: 2.184 MB / 1.119 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.9524, allocations: 0 / 1.119 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.9526, allocations: 55.91 kB / 1.119 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.9537, allocations: 334.3 kB / 1.119 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.9537, allocations: 15.98 kB / 1.119 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.9552, allocations: 0.9659 MB / 1.12 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9552, allocations: 3.953 kB / 1.12 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.9586, allocations: 1.302 MB / 1.121 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/0.9592, allocations: 287.5 kB / 1.121 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.9594, allocations: 8 kB / 1.121 GB, free: 8.449 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/0.9603, allocations: 107.8 kB / 1.122 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.9604, allocations: 39.84 kB / 1.122 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.9604, allocations: 23.98 kB / 1.122 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001194/0.9616, allocations: 0.7508 MB / 1.122 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9616, allocations: 0 / 1.122 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001649/0.9633, allocations: 0.5653 MB / 1.123 GB, free: 6.957 MB / 0.8731 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 (33): * Single equations (assignments): 28 * 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.0008374/0.9641, allocations: 400.1 kB / 1.123 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002846/0.967, allocations: 1.05 MB / 1.124 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.967, allocations: 0 / 1.124 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.9678, allocations: 326.5 kB / 1.125 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.9702, allocations: 0.4954 MB / 1.125 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/0.9741, allocations: 2.209 MB / 1.127 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.9748, allocations: 1.092 MB / 1.128 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001029/0.9758, allocations: 216.2 kB / 1.129 GB, free: 1.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.976, allocations: 75.42 kB / 1.129 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of SimCode: time 5.81e-07/0.9761, allocations: 0 / 1.129 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of Templates: time 0.04046/1.017, allocations: 23.44 MB / 1.152 GB, free: 9.891 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches