Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 99.55 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.001176/0.001176, 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.423/1.423, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.508/2.508, allocations: 390.2 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 12 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8303, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1155/0.9459, allocations: 110.7 MB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03343/0.9794, allocations: 19.95 MB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005023/0.9844, allocations: 103.2 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005712/0.9902, allocations: 1.368 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01615/1.006, allocations: 4.185 MB / 1.087 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008593/1.015, allocations: 2.578 MB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.025, allocations: 3.921 MB / 1.093 GB, free: 1.176 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/1.029, allocations: 1.708 MB / 1.095 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00695/1.036, allocations: 2.02 MB / 1.097 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/1.04, allocations: 1.252 MB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006302/1.04, allocations: 88 kB / 1.098 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005039/1.045, allocations: 1.338 MB / 1.099 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006885/1.046, allocations: 410.2 kB / 1.1 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/1.048, allocations: 0.5511 MB / 1.1 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005913/1.054, allocations: 3.108 MB / 1.103 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.054, allocations: 0 / 1.103 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/1.054, allocations: 0 / 1.103 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001238/1.054, allocations: 0 / 1.103 GB, free: 6.645 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006615/1.06, allocations: 2.709 MB / 1.106 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/1.06, allocations: 8.031 kB / 1.106 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004926/1.065, allocations: 0.945 MB / 1.107 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/1.07, allocations: 2.098 MB / 1.109 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/1.071, allocations: 322.8 kB / 1.109 GB, free: 416 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/1.071, allocations: 160 kB / 1.109 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/1.076, allocations: 1.962 MB / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/1.076, allocations: 0 / 1.111 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.076, allocations: 71.94 kB / 1.111 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/1.076, allocations: 36 kB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/1.081, allocations: 1.885 MB / 1.113 GB, free: 12.23 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.01517/1.096, allocations: 9.172 MB / 1.122 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/1.101, allocations: 1.315 MB / 1.123 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.102, allocations: 1.723 MB / 1.125 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.102, allocations: 46.45 kB / 1.125 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=76): time 2.305e-06/1.102, allocations: 0 / 1.125 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.00907/1.111, allocations: 2.478 MB / 1.127 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/1.111, allocations: 85.11 kB / 1.128 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004235/1.116, allocations: 2.547 MB / 1.13 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/1.116, allocations: 53.64 kB / 1.13 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/1.117, allocations: 1.041 MB / 1.131 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003308/1.117, allocations: 276.1 kB / 1.131 GB, free: 8.379 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/1.117, allocations: 23.94 kB / 1.131 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.117, allocations: 353.9 kB / 1.132 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/1.119, allocations: 0.6232 MB / 1.132 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/1.121, allocations: 1.001 MB / 1.133 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/1.123, allocations: 0.6856 MB / 1.134 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.123, allocations: 4 kB / 1.134 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005404/1.129, allocations: 1.966 MB / 1.136 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.129, allocations: 12 kB / 1.136 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.129, allocations: 8 kB / 1.136 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/1.131, allocations: 437.6 kB / 1.136 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.132, allocations: 311.5 kB / 1.137 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.134, allocations: 1.536 MB / 1.138 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.137, allocations: 488 kB / 1.139 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.137, allocations: 67.95 kB / 1.139 GB, free: 0.6719 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008804/1.138, allocations: 457.5 kB / 1.139 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/1.139, allocations: 245 kB / 1.139 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/1.142, allocations: 1.548 MB / 1.141 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/1.142, allocations: 8 kB / 1.141 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.142, allocations: 4 kB / 1.141 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.142, allocations: 7.938 kB / 1.141 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/1.151, allocations: 3.716 MB / 1.144 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/1.151, allocations: 8.031 kB / 1.145 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/1.151, allocations: 139.8 kB / 1.145 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001608/1.153, allocations: 437.2 kB / 1.145 GB, free: 9.98 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/1.153, allocations: 27.98 kB / 1.145 GB, free: 9.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002793/1.156, allocations: 1.637 MB / 1.147 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/1.156, allocations: 11.92 kB / 1.147 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007092/1.163, allocations: 2.331 MB / 1.149 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.164, allocations: 0.521 MB / 1.149 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/1.165, allocations: 24 kB / 1.149 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.167, allocations: 195.7 kB / 1.15 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.167, allocations: 63.81 kB / 1.15 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.167, allocations: 43.97 kB / 1.15 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003273/1.17, allocations: 1.793 MB / 1.152 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.11e-07/1.17, allocations: 0 / 1.152 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002177/1.172, allocations: 0.6866 MB / 1.152 GB, free: 2.391 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001134/1.173, allocations: 0.6249 MB / 1.153 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004304/1.178, allocations: 1.429 MB / 1.154 GB, free: 348 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.178, allocations: 0 / 1.154 GB, free: 348 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/1.18, allocations: 0.7195 MB / 1.155 GB, free: 15.62 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006715/1.187, allocations: 1.254 MB / 1.156 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/1.195, allocations: 4.171 MB / 1.16 GB, free: 10.14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/1.197, allocations: 1.533 MB / 1.162 GB, free: 8.582 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002411/1.199, allocations: 432.6 kB / 1.162 GB, free: 8.156 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005171/1.2, allocations: 167.4 kB / 1.162 GB, free: 7.992 MB / 0.92 GB Notification: Performance of SimCode: time 6.82e-07/1.2, allocations: 0 / 1.162 GB, free: 7.992 MB / 0.92 GB Notification: Performance of Templates: time 0.08176/1.281, allocations: 47.66 MB / 1.209 GB, free: 8.938 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches