Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002369/0.002369, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.67/1.67, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.136/3.136, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.179e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1951/0.1951, allocations: 137.6 MB / 0.9452 GB, free: 8.133 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.04697/0.2421, allocations: 23.93 MB / 0.9685 GB, free: 132 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00691/0.249, allocations: 174.5 kB / 0.9687 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.2546, allocations: 1.494 MB / 0.9702 GB, free: 14.45 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01642/0.271, allocations: 4.476 MB / 0.9745 GB, free: 9.953 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.007144/0.2781, allocations: 2.279 MB / 0.9768 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.2914, allocations: 6.698 MB / 0.9833 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004354/0.2957, allocations: 1.919 MB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.3088, allocations: 4.113 MB / 0.9892 GB, free: 10.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004867/0.3137, allocations: 1.639 MB / 0.9908 GB, free: 9.234 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007544/0.3144, allocations: 244 kB / 0.991 GB, free: 8.996 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005407/0.3198, allocations: 1.606 MB / 0.9926 GB, free: 7.387 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008967/0.3207, allocations: 0.6418 MB / 0.9932 GB, free: 6.742 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.002513/0.3232, allocations: 0.978 MB / 0.9942 GB, free: 5.762 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3339, allocations: 4.444 MB / 0.9985 GB, free: 1.305 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3339, allocations: 0 / 0.9985 GB, free: 1.305 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3339, allocations: 0 / 0.9985 GB, free: 1.305 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001398/0.334, allocations: 4 kB / 0.9985 GB, free: 1.301 MB / 0.948 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.009227/0.3432, allocations: 3.572 MB / 1.002 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3433, allocations: 12.03 kB / 1.002 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004376/0.3477, allocations: 0.8458 MB / 1.003 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005724/0.3534, allocations: 2.381 MB / 1.005 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3535, allocations: 123 kB / 1.005 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003144/0.3538, allocations: 168 kB / 1.005 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.3585, allocations: 2.035 MB / 1.007 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.3585, allocations: 0 / 1.007 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.3587, allocations: 64 kB / 1.008 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.3587, allocations: 36 kB / 1.008 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/0.3632, allocations: 1.561 MB / 1.009 GB, free: 6.242 MB / 0.9636 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.01599/0.3792, allocations: 8.388 MB / 1.017 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.3831, allocations: 1.023 MB / 1.018 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009474/0.3841, allocations: 363.2 kB / 1.019 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/0.3846, allocations: 163.9 kB / 1.019 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.3847, allocations: 45.33 kB / 1.019 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.3847, allocations: 8 kB / 1.019 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.00815/0.3928, allocations: 1.858 MB / 1.021 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.393, allocations: 85.11 kB / 1.021 GB, free: 10.04 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.3982, allocations: 2.519 MB / 1.023 GB, free: 7.48 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.3985, allocations: 49.64 kB / 1.023 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.3999, allocations: 1.299 MB / 1.024 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.4003, allocations: 309.5 kB / 1.025 GB, free: 5.809 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005596/0.4009, allocations: 288.4 kB / 1.025 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003377/0.4012, allocations: 0.5473 MB / 1.026 GB, free: 4.965 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.4027, allocations: 462.4 kB / 1.026 GB, free: 4.512 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/0.4053, allocations: 1.663 MB / 1.028 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.408, allocations: 1.227 MB / 1.029 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.408, allocations: 4 kB / 1.029 GB, free: 1.078 MB / 0.9792 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.007912/0.416, allocations: 1.893 MB / 1.031 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.416, allocations: 8.062 kB / 1.031 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.416, allocations: 12 kB / 1.031 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.418, allocations: 474.8 kB / 1.031 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4191, allocations: 239.6 kB / 1.031 GB, free: 14.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.4216, allocations: 2.02 MB / 1.033 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.424, allocations: 203.3 kB / 1.034 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.4242, allocations: 59.95 kB / 1.034 GB, free: 12.1 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * 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.001382/0.4256, allocations: 484.3 kB / 1.034 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009033/0.4265, allocations: 242.6 kB / 1.034 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.4301, allocations: 1.307 MB / 1.036 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.719e-05/0.4301, allocations: 15.98 kB / 1.036 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4301, allocations: 0 / 1.036 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4302, allocations: 3.984 kB / 1.036 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008706/0.4389, allocations: 3.542 MB / 1.039 GB, free: 6.395 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/0.4389, allocations: 7.984 kB / 1.039 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.4394, allocations: 111.8 kB / 1.039 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.4412, allocations: 474.8 kB / 1.04 GB, free: 5.805 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-05/0.4412, allocations: 35.91 kB / 1.04 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002899/0.4441, allocations: 2.07 MB / 1.042 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.4441, allocations: 7.938 kB / 1.042 GB, free: 3.629 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005743/0.4499, allocations: 1.758 MB / 1.043 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/0.4513, allocations: 372.2 kB / 1.044 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.4516, allocations: 23.88 kB / 1.044 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.4528, allocations: 79.92 kB / 1.044 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4529, allocations: 63.83 kB / 1.044 GB, free: 1.258 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-05/0.453, allocations: 35.97 kB / 1.044 GB, free: 1.223 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.5313/0.9843, allocations: 1.528 MB / 1.045 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9843, allocations: 0 / 1.045 GB, free: 269.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003202/0.9875, allocations: 0.744 MB / 1.046 GB, free: 269.8 MB / 0.9948 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.001131/0.9887, allocations: 0.6078 MB / 1.047 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003183/0.9918, allocations: 1.137 MB / 1.048 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9919, allocations: 3.406 kB / 1.048 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.9935, allocations: 0.5599 MB / 1.048 GB, free: 269.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/0.9978, allocations: 0.9184 MB / 1.049 GB, free: 269.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/1.004, allocations: 3.524 MB / 1.053 GB, free: 268 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/1.004, allocations: 0.9144 MB / 1.054 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001573/1.006, allocations: 350.3 kB / 1.054 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/1.006, allocations: 145.7 kB / 1.054 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of SimCode: time 2.355e-06/1.006, allocations: 0.6562 kB / 1.054 GB, free: 267.8 MB / 0.9948 GB Notification: Performance of Templates: time 0.07706/1.083, allocations: 40.88 MB / 1.094 GB, free: 257.3 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.189116218942218]