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.001105/0.001105, allocations: 91.92 kB / 16.02 MB, free: 80 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.001362/0.001363, allocations: 177.8 kB / 16.92 MB, free: 6.652 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 462.6 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003583, allocations: 8.25 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3487, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07225/0.421, allocations: 73.46 MB / 1.131 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01755/0.4385, allocations: 12.68 MB / 1.143 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00277/0.4414, allocations: 59.62 kB / 1.143 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.4435, allocations: 0.6759 MB / 1.144 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007134/0.4507, allocations: 2.26 MB / 1.146 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.4543, allocations: 1.275 MB / 1.148 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007087/0.4614, allocations: 5.554 MB / 1.153 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.4638, allocations: 1.144 MB / 1.154 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003616/0.4674, allocations: 1.31 MB / 1.155 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.4697, allocations: 1.139 MB / 1.157 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003744/0.4701, allocations: 56 kB / 1.157 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.4735, allocations: 1.255 MB / 1.158 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005414/0.474, allocations: 290.6 kB / 1.158 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.4754, allocations: 0.7944 MB / 1.159 GB, free: 14.73 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.4784, allocations: 2.163 MB / 1.161 GB, free: 12.56 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4784, allocations: 4 kB / 1.161 GB, free: 12.56 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4784, allocations: 0 / 1.161 GB, free: 12.56 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.02e-05/0.4785, allocations: 0 / 1.161 GB, free: 12.56 MB / 0.92 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.003615/0.4821, allocations: 1.791 MB / 1.163 GB, free: 10.7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4822, allocations: 15.97 kB / 1.163 GB, free: 10.69 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007978/0.483, allocations: 238.8 kB / 1.163 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.4855, allocations: 1.489 MB / 1.164 GB, free: 8.906 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.4856, allocations: 78 kB / 1.164 GB, free: 8.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.4857, allocations: 100 kB / 1.165 GB, free: 8.734 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.4878, allocations: 1.124 MB / 1.166 GB, free: 7.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.4879, allocations: 4 kB / 1.166 GB, free: 7.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.364e-05/0.488, allocations: 39.98 kB / 1.166 GB, free: 7.531 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.488, allocations: 28 kB / 1.166 GB, free: 7.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.49, allocations: 0.929 MB / 1.167 GB, free: 6.574 MB / 0.92 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.005973/0.496, allocations: 4.919 MB / 1.171 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.4974, allocations: 0.6474 MB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.4982, allocations: 375.5 kB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.4989, allocations: 0.8354 MB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4989, allocations: 43.12 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 2.936e-06/0.4989, allocations: 3.938 kB / 1.173 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.007974/0.5069, allocations: 1.896 MB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.507, allocations: 59.97 kB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.5089, allocations: 1.206 MB / 1.176 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.5091, allocations: 45.7 kB / 1.176 GB, free: 12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00056/0.5097, allocations: 0.5988 MB / 1.177 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.51, allocations: 220.8 kB / 1.177 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5101, allocations: 61.69 kB / 1.177 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5102, allocations: 330 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.511, allocations: 305.8 kB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.5119, allocations: 0.5067 MB / 1.178 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.5135, allocations: 0.7433 MB / 1.179 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.5135, allocations: 3.938 kB / 1.179 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005336/0.5189, allocations: 1.421 MB / 1.181 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.519, allocations: 189.4 kB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.519, allocations: 4 kB / 1.181 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/0.5198, allocations: 160.7 kB / 1.181 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.5206, allocations: 167.8 kB / 1.181 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/0.5215, allocations: 0.7395 MB / 1.182 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.523, allocations: 167 kB / 1.182 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5231, allocations: 35.98 kB / 1.182 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.5231, allocations: 5.094 kB / 1.182 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005072/0.5282, allocations: 1.265 MB / 1.183 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.5282, allocations: 3.984 kB / 1.183 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.5291, allocations: 169.1 kB / 1.183 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.5298, allocations: 159.8 kB / 1.183 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.531, allocations: 0.7357 MB / 1.184 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001659/0.5326, allocations: 151.2 kB / 1.184 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.5328, allocations: 35.98 kB / 1.184 GB, free: 3.605 MB / 0.9356 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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.5339, allocations: 416.9 kB / 1.185 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005383/0.5344, allocations: 138.3 kB / 1.185 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/0.54, allocations: 1.412 MB / 1.186 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.5401, allocations: 15.94 kB / 1.186 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5401, allocations: 0 / 1.186 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00468/0.5448, allocations: 1.244 MB / 1.188 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.5524, allocations: 2.743 MB / 1.19 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5525, allocations: 4 kB / 1.19 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.553, allocations: 128.2 kB / 1.19 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006695/0.5537, allocations: 160.9 kB / 1.19 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.5538, allocations: 19.98 kB / 1.191 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009104/0.5547, allocations: 0.724 MB / 1.191 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/0.5547, allocations: 4 kB / 1.191 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.5607, allocations: 1.856 MB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/0.5616, allocations: 331 kB / 1.193 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003315/0.5619, allocations: 24.06 kB / 1.193 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.563, allocations: 98.62 kB / 1.193 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.5632, allocations: 56.25 kB / 1.194 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.5633, allocations: 39.97 kB / 1.194 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001476/0.5648, allocations: 0.866 MB / 1.194 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5648, allocations: 0 / 1.194 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002006/0.5668, allocations: 0.7057 MB / 1.195 GB, free: 8.352 MB / 0.9512 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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00097/0.5678, allocations: 457.3 kB / 1.196 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.5706, allocations: 1.172 MB / 1.197 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5707, allocations: 0 / 1.197 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009791/0.5716, allocations: 415.2 kB / 1.197 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/0.5765, allocations: 0.7916 MB / 1.198 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.5815, allocations: 2.853 MB / 1.201 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/0.5825, allocations: 1.165 MB / 1.202 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/0.5829, allocations: 115.4 kB / 1.202 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of SimCode: time 8.32e-07/0.583, allocations: 4 kB / 1.202 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.04697/0.6299, allocations: 30.67 MB / 1.232 GB, free: 2.82 MB / 0.9825 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches