Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007514/0.007514, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001626/0.001626, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.08 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1711/1.21, allocations: 132.3 MB / 1.217 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04053/1.251, allocations: 23.24 MB / 1.24 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008052/1.259, allocations: 125.6 kB / 1.24 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005958/1.265, allocations: 1.487 MB / 1.241 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01769/1.283, allocations: 4.101 MB / 1.245 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008223/1.291, allocations: 2.166 MB / 1.247 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01345/1.305, allocations: 6.547 MB / 1.254 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/1.31, allocations: 2.359 MB / 1.256 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009556/1.319, allocations: 2.8 MB / 1.259 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004781/1.324, allocations: 1.89 MB / 1.261 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009353/1.325, allocations: 248 kB / 1.261 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006369/1.331, allocations: 1.934 MB / 1.263 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/1.333, allocations: 0.6031 MB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00344/1.336, allocations: 1.462 MB / 1.265 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/1.347, allocations: 4.36 MB / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/1.347, allocations: 0 / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.776e-06/1.347, allocations: 0 / 1.269 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001171/1.347, allocations: 0 / 1.269 GB, free: 4.16 MB / 0.9981 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.008393/1.355, allocations: 3.18 MB / 1.272 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.355, allocations: 8.031 kB / 1.272 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/1.36, allocations: 0.8397 MB / 1.273 GB, free: 44 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/1.365, allocations: 2.315 MB / 1.275 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/1.365, allocations: 127 kB / 1.275 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/1.365, allocations: 164 kB / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/1.37, allocations: 1.93 MB / 1.277 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/1.37, allocations: 0 / 1.277 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/1.37, allocations: 64 kB / 1.278 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/1.37, allocations: 39.94 kB / 1.278 GB, free: 11.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006243/1.376, allocations: 1.799 MB / 1.279 GB, free: 9.469 MB / 1.014 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.01854/1.395, allocations: 8.989 MB / 1.288 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004172/1.399, allocations: 1.199 MB / 1.289 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.4, allocations: 465.2 kB / 1.29 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001209/1.401, allocations: 1.722 MB / 1.291 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.401, allocations: 42.56 kB / 1.291 GB, free: 12.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 3.687e-06/1.401, allocations: 0 / 1.291 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008638/1.41, allocations: 2.336 MB / 1.294 GB, free: 9.656 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.215e-05/1.41, allocations: 85.11 kB / 1.294 GB, free: 9.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/1.414, allocations: 2.52 MB / 1.296 GB, free: 7.016 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.415, allocations: 45.7 kB / 1.296 GB, free: 6.965 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/1.415, allocations: 1.045 MB / 1.297 GB, free: 5.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/1.416, allocations: 276.1 kB / 1.298 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004165/1.416, allocations: 258.6 kB / 1.298 GB, free: 5.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.416, allocations: 341.9 kB / 1.298 GB, free: 5.035 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/1.418, allocations: 0.5725 MB / 1.299 GB, free: 4.465 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/1.42, allocations: 0.9543 MB / 1.3 GB, free: 3.355 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/1.423, allocations: 1.26 MB / 1.301 GB, free: 1.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.423, allocations: 0 / 1.301 GB, free: 1.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006426/1.429, allocations: 2.02 MB / 1.303 GB, free: 15.95 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.429, allocations: 8 kB / 1.303 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.429, allocations: 8 kB / 1.303 GB, free: 15.93 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/1.431, allocations: 497.4 kB / 1.303 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/1.432, allocations: 275.6 kB / 1.304 GB, free: 15.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/1.434, allocations: 1.52 MB / 1.305 GB, free: 13.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/1.438, allocations: 370 kB / 1.305 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/1.438, allocations: 55.97 kB / 1.306 GB, free: 13.18 MB / 1.045 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.439, allocations: 473.4 kB / 1.306 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/1.439, allocations: 252.9 kB / 1.306 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/1.443, allocations: 1.507 MB / 1.308 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/1.443, allocations: 11.94 kB / 1.308 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.443, allocations: 0 / 1.308 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.443, allocations: 3.984 kB / 1.308 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007729/1.451, allocations: 3.62 MB / 1.311 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.451, allocations: 0 / 1.311 GB, free: 7.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/1.451, allocations: 132.2 kB / 1.311 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/1.453, allocations: 491 kB / 1.312 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/1.453, allocations: 27.97 kB / 1.312 GB, free: 6.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.456, allocations: 1.581 MB / 1.313 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.456, allocations: 12.08 kB / 1.313 GB, free: 4.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006338/1.462, allocations: 1.935 MB / 1.315 GB, free: 2.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.463, allocations: 0.4897 MB / 1.316 GB, free: 2.398 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007593/1.464, allocations: 16 kB / 1.316 GB, free: 2.383 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.466, allocations: 139.8 kB / 1.316 GB, free: 2.246 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.466, allocations: 55.81 kB / 1.316 GB, free: 2.191 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.467, allocations: 47.95 kB / 1.316 GB, free: 2.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003782/1.47, allocations: 1.769 MB / 1.318 GB, free: 380 kB / 1.045 GB Notification: Performance of sort global known variables: time 3.1e-07/1.47, allocations: 0 / 1.318 GB, free: 380 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.002757/1.473, allocations: 0.6867 MB / 1.318 GB, free: 15.68 MB / 1.061 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/1.475, allocations: 0.6235 MB / 1.319 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004332/1.479, allocations: 1.354 MB / 1.32 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.479, allocations: 0 / 1.32 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.481, allocations: 0.674 MB / 1.321 GB, free: 13.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006899/1.488, allocations: 1.312 MB / 1.322 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007411/1.496, allocations: 3.559 MB / 1.326 GB, free: 8.113 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/1.497, allocations: 1.493 MB / 1.327 GB, free: 6.586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002817/1.5, allocations: 432.3 kB / 1.328 GB, free: 6.164 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008446/1.501, allocations: 163.4 kB / 1.328 GB, free: 6.004 MB / 1.061 GB Notification: Performance of SimCode: time 1.372e-06/1.501, allocations: 0 / 1.328 GB, free: 6.004 MB / 1.061 GB Notification: Performance of Templates: time 0.08452/1.585, allocations: 49.82 MB / 1.376 GB, free: 4.863 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches