Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,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",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 88.92 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009476/0.0009475, allocations: 182.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 241 MB, free: 5.246 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.735/2.735, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005507/0.0005509, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6489, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08256/0.7315, allocations: 73.44 MB / 1.095 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.7516, allocations: 12.68 MB / 1.108 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.7549, allocations: 59.62 kB / 1.108 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.7578, allocations: 0.6799 MB / 1.109 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007984/0.7658, allocations: 2.267 MB / 1.111 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.7699, allocations: 1.263 MB / 1.112 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007604/0.7775, allocations: 5.544 MB / 1.117 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.7799, allocations: 1.149 MB / 1.118 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003274/0.7832, allocations: 1.318 MB / 1.12 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.7855, allocations: 1.124 MB / 1.121 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.786, allocations: 56 kB / 1.121 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.7895, allocations: 1.239 MB / 1.122 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.7901, allocations: 290.6 kB / 1.122 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.7919, allocations: 0.7945 MB / 1.123 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.7957, allocations: 2.159 MB / 1.125 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7957, allocations: 4 kB / 1.125 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7957, allocations: 0 / 1.125 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001073/0.7958, allocations: 0 / 1.125 GB, free: 7.43 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.004414/0.8002, allocations: 1.776 MB / 1.127 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.8003, allocations: 19.97 kB / 1.127 GB, free: 5.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.8013, allocations: 238.8 kB / 1.127 GB, free: 5.336 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.8044, allocations: 1.493 MB / 1.129 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.8045, allocations: 74 kB / 1.129 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.8047, allocations: 104 kB / 1.129 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.8073, allocations: 1.124 MB / 1.13 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/0.8074, allocations: 0 / 1.13 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.8075, allocations: 51.91 kB / 1.13 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.8075, allocations: 28 kB / 1.13 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.8098, allocations: 0.929 MB / 1.131 GB, free: 1.449 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.007637/0.8175, allocations: 4.904 MB / 1.136 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.8191, allocations: 0.6432 MB / 1.136 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008212/0.82, allocations: 367.7 kB / 1.137 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.8207, allocations: 0.8277 MB / 1.138 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.8207, allocations: 43.12 kB / 1.138 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/0.8207, allocations: 0 / 1.138 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.008084/0.8288, allocations: 1.885 MB / 1.139 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.8289, allocations: 59.97 kB / 1.14 GB, free: 8.199 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.8313, allocations: 1.214 MB / 1.141 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.8314, allocations: 37.7 kB / 1.141 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/0.8321, allocations: 0.6065 MB / 1.141 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.8324, allocations: 216.9 kB / 1.142 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.8325, allocations: 61.69 kB / 1.142 GB, free: 6.031 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8327, allocations: 334 kB / 1.142 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/0.8335, allocations: 301.8 kB / 1.142 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/0.8345, allocations: 0.5037 MB / 1.143 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.8361, allocations: 0.7481 MB / 1.143 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.8361, allocations: 0 / 1.143 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005521/0.8416, allocations: 1.413 MB / 1.145 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.8418, allocations: 194.3 kB / 1.145 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.8419, allocations: 4 kB / 1.145 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006996/0.8426, allocations: 148.7 kB / 1.145 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.8434, allocations: 167.8 kB / 1.145 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.8444, allocations: 0.7006 MB / 1.146 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.846, allocations: 171 kB / 1.146 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.8462, allocations: 35.94 kB / 1.146 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.8462, allocations: 4 kB / 1.146 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004928/0.8511, allocations: 1.257 MB / 1.147 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.8511, allocations: 4.094 kB / 1.147 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005634/0.8517, allocations: 145 kB / 1.148 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.8524, allocations: 167.8 kB / 1.148 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008934/0.8533, allocations: 0.7084 MB / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8547, allocations: 159.2 kB / 1.149 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.8548, allocations: 28 kB / 1.149 GB, free: 14.62 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0009161/0.8557, allocations: 424.9 kB / 1.149 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.8562, allocations: 130.4 kB / 1.149 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005189/0.8614, allocations: 1.4 MB / 1.15 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.8614, allocations: 11.94 kB / 1.15 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.8614, allocations: 0 / 1.15 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004533/0.866, allocations: 1.232 MB / 1.152 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00768/0.8737, allocations: 2.75 MB / 1.154 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8737, allocations: 4 kB / 1.154 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.8742, allocations: 127.8 kB / 1.155 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000526/0.8748, allocations: 141.1 kB / 1.155 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.8748, allocations: 16 kB / 1.155 GB, free: 8.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005135/0.88, allocations: 2.435 MB / 1.157 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.88, allocations: 7.938 kB / 1.157 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005812/0.8858, allocations: 1.848 MB / 1.159 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.8865, allocations: 335.1 kB / 1.159 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.8867, allocations: 12 kB / 1.159 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009911/0.8877, allocations: 107.8 kB / 1.159 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.8879, allocations: 60.23 kB / 1.159 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.888, allocations: 27.98 kB / 1.159 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00145/0.8894, allocations: 0.8738 MB / 1.16 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8894, allocations: 0 / 1.16 GB, free: 2.285 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002299/0.8917, allocations: 0.7135 MB / 1.161 GB, free: 1.57 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.8928, allocations: 440.8 kB / 1.161 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002783/0.8956, allocations: 1.172 MB / 1.162 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8956, allocations: 0 / 1.162 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.8972, allocations: 0.5994 MB / 1.163 GB, free: 15.36 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/0.9016, allocations: 0.7964 MB / 1.164 GB, free: 14.57 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004453/0.9061, allocations: 2.823 MB / 1.167 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/0.9069, allocations: 1.173 MB / 1.168 GB, free: 10.47 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003617/0.9073, allocations: 115.4 kB / 1.168 GB, free: 10.36 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.9073, allocations: 0 / 1.168 GB, free: 10.36 MB / 0.92 GB Notification: Performance of Templates: time 0.04288/0.9502, allocations: 30.66 MB / 1.198 GB, free: 11.88 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches