Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002167/0.002167, allocations: 76.3 kB / 19.18 MB, free: 2.531 MB / 14.72 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.003073/0.003073, allocations: 173.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.094/3.094, allocations: 389 MB / 0.633 GB, free: 1.035 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.998e-06/3.998e-06, allocations: 4 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.706e-05, allocations: 6.219 kB / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1533/0.1534, allocations: 120.8 MB / 1.118 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.9261/1.079, allocations: 21.56 MB / 1.139 GB, free: 79.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007608/1.087, allocations: 174.1 kB / 1.139 GB, free: 79.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004975/1.092, allocations: 1.5 MB / 1.141 GB, free: 79.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01552/1.108, allocations: 4.456 MB / 1.145 GB, free: 79.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006709/1.114, allocations: 2.27 MB / 1.147 GB, free: 79.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.125, allocations: 6.603 MB / 1.154 GB, free: 77.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/1.128, allocations: 1.757 MB / 1.156 GB, free: 77.49 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/1.139, allocations: 4.035 MB / 1.159 GB, free: 77.01 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/1.145, allocations: 1.604 MB / 1.161 GB, free: 76.8 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007632/1.145, allocations: 245.3 kB / 1.161 GB, free: 76.8 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005451/1.151, allocations: 1.607 MB / 1.163 GB, free: 76.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007267/1.151, allocations: 0.6295 MB / 1.163 GB, free: 76.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/1.154, allocations: 0.973 MB / 1.164 GB, free: 76.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009369/1.163, allocations: 4.408 MB / 1.169 GB, free: 75.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.163, allocations: 0 / 1.169 GB, free: 75.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.723e-06/1.163, allocations: 0 / 1.169 GB, free: 75.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.757e-05/1.163, allocations: 0 / 1.169 GB, free: 75.97 MB / 1.076 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.008721/1.172, allocations: 3.16 MB / 1.172 GB, free: 74.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/1.172, allocations: 8.906 kB / 1.172 GB, free: 74.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005595/1.178, allocations: 0.8555 MB / 1.173 GB, free: 74.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/1.184, allocations: 2.282 MB / 1.175 GB, free: 73.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/1.185, allocations: 136.4 kB / 1.175 GB, free: 73.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/1.185, allocations: 161.3 kB / 1.175 GB, free: 73.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/1.19, allocations: 2 MB / 1.177 GB, free: 72.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/1.19, allocations: 5.719 kB / 1.177 GB, free: 72.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/1.191, allocations: 61.55 kB / 1.177 GB, free: 72.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/1.191, allocations: 37.56 kB / 1.177 GB, free: 72.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005473/1.196, allocations: 1.804 MB / 1.179 GB, free: 72.07 MB / 1.076 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.01489/1.211, allocations: 6.147 MB / 1.185 GB, free: 68.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00483/1.216, allocations: 1.134 MB / 1.186 GB, free: 68.24 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.217, allocations: 440.5 kB / 1.186 GB, free: 68.09 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005867/1.218, allocations: 155.9 kB / 1.187 GB, free: 68.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.218, allocations: 43.3 kB / 1.187 GB, free: 68.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=76): time 3.437e-06/1.218, allocations: 3.938 kB / 1.187 GB, free: 68.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=76): time 0.01032/1.228, allocations: 2.138 MB / 1.189 GB, free: 67.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.228, allocations: 88.77 kB / 1.189 GB, free: 67.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00498/1.233, allocations: 1.998 MB / 1.191 GB, free: 66.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002838/1.233, allocations: 43.89 kB / 1.191 GB, free: 66.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.234, allocations: 1.097 MB / 1.192 GB, free: 65.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/1.235, allocations: 278 kB / 1.192 GB, free: 65.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006412/1.235, allocations: 258.4 kB / 1.192 GB, free: 65.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.236, allocations: 344.8 kB / 1.193 GB, free: 64.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/1.238, allocations: 0.573 MB / 1.193 GB, free: 64.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.24, allocations: 1.613 MB / 1.195 GB, free: 63.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.244, allocations: 1.252 MB / 1.196 GB, free: 62.76 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.244, allocations: 5.094 kB / 1.196 GB, free: 62.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007726/1.251, allocations: 1.981 MB / 1.198 GB, free: 62.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.251, allocations: 8.188 kB / 1.198 GB, free: 62.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.251, allocations: 8.844 kB / 1.198 GB, free: 62.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/1.254, allocations: 496.8 kB / 1.199 GB, free: 62.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/1.255, allocations: 280.6 kB / 1.199 GB, free: 62.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/1.257, allocations: 1.513 MB / 1.2 GB, free: 60.82 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/1.26, allocations: 295.8 kB / 1.201 GB, free: 60.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/1.261, allocations: 59.48 kB / 1.201 GB, free: 60.73 MB / 1.076 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.00134/1.262, allocations: 466.2 kB / 1.201 GB, free: 60.43 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/1.262, allocations: 203.8 kB / 1.201 GB, free: 60.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/1.267, allocations: 1.475 MB / 1.203 GB, free: 59.76 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/1.267, allocations: 10.45 kB / 1.203 GB, free: 59.76 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.267, allocations: 5.125 kB / 1.203 GB, free: 59.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.267, allocations: 3.891 kB / 1.203 GB, free: 59.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00885/1.275, allocations: 3.169 MB / 1.206 GB, free: 58.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.275, allocations: 3.531 kB / 1.206 GB, free: 58.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006533/1.276, allocations: 131.2 kB / 1.206 GB, free: 58.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/1.278, allocations: 485.8 kB / 1.206 GB, free: 58.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/1.278, allocations: 28.14 kB / 1.206 GB, free: 58.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/1.281, allocations: 1.591 MB / 1.208 GB, free: 57.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.281, allocations: 7.188 kB / 1.208 GB, free: 57.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/1.288, allocations: 1.893 MB / 1.21 GB, free: 56.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.29, allocations: 369 kB / 1.21 GB, free: 56.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/1.29, allocations: 20.83 kB / 1.21 GB, free: 56.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.292, allocations: 130.2 kB / 1.21 GB, free: 55.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.292, allocations: 60.89 kB / 1.21 GB, free: 55.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.292, allocations: 38.72 kB / 1.21 GB, free: 55.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003098/1.295, allocations: 1.396 MB / 1.212 GB, free: 55.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.295, allocations: 0 / 1.212 GB, free: 55.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003289/1.298, allocations: 0.7429 MB / 1.213 GB, free: 55.24 MB / 1.076 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.00149/1.3, allocations: 0.6161 MB / 1.213 GB, free: 55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004854/1.305, allocations: 1.313 MB / 1.214 GB, free: 54.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.305, allocations: 1.766 kB / 1.214 GB, free: 54.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002632/1.307, allocations: 0.6498 MB / 1.215 GB, free: 54.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004399/1.312, allocations: 0.8235 MB / 1.216 GB, free: 54.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007554/1.319, allocations: 3.533 MB / 1.219 GB, free: 52.47 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.32, allocations: 0.9191 MB / 1.22 GB, free: 52.26 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001899/1.322, allocations: 356.7 kB / 1.221 GB, free: 52.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/1.323, allocations: 141.9 kB / 1.221 GB, free: 52.14 MB / 1.076 GB Notification: Performance of SimCode: time 1.403e-06/1.323, allocations: 1.312 kB / 1.221 GB, free: 52.14 MB / 1.076 GB Notification: Performance of Templates: time 0.06728/1.39, allocations: 40.21 MB / 1.26 GB, free: 35.88 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.834725957363844]