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.001926/0.001926, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002035/0.002035, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 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.482/3.482, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.723e-06/1.723e-06, allocations: 0 / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.198e-05, allocations: 3.188 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1764/0.1764, allocations: 137.9 MB / 1.012 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.04298/0.2194, allocations: 25.11 MB / 1.037 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005316/0.2247, allocations: 182.4 kB / 1.037 GB, free: 2.996 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.005337/0.23, allocations: 1.517 MB / 1.038 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0156/0.2456, allocations: 4.518 MB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.008803/0.2544, allocations: 2.798 MB / 1.045 GB, free: 10.13 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.01315/0.2676, allocations: 6.814 MB / 1.052 GB, free: 3.293 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004612/0.2722, allocations: 1.9 MB / 1.054 GB, free: 1.336 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6681/0.9403, allocations: 4.2 MB / 1.058 GB, free: 95.49 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.9445, allocations: 1.657 MB / 1.06 GB, free: 95.49 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005765/0.945, allocations: 257.2 kB / 1.06 GB, free: 95.49 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004704/0.9497, allocations: 1.616 MB / 1.061 GB, free: 95.49 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006362/0.9504, allocations: 0.6628 MB / 1.062 GB, free: 95.49 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001776/0.9521, allocations: 1.02 MB / 1.063 GB, free: 95.49 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.006989/0.9591, allocations: 4.58 MB / 1.068 GB, free: 95.41 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9591, allocations: 0 / 1.068 GB, free: 95.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.422e-06/0.9591, allocations: 1.094 kB / 1.068 GB, free: 95.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.495e-05/0.9592, allocations: 0 / 1.068 GB, free: 95.41 MB / 1.01 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.006599/0.9658, allocations: 3.726 MB / 1.071 GB, free: 93.73 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.9659, allocations: 9 kB / 1.071 GB, free: 93.73 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003713/0.9696, allocations: 0.8654 MB / 1.072 GB, free: 93.56 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.9738, allocations: 2.534 MB / 1.075 GB, free: 92.98 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.9739, allocations: 131.5 kB / 1.075 GB, free: 92.98 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.9741, allocations: 185.6 kB / 1.075 GB, free: 92.97 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003612/0.9778, allocations: 2.026 MB / 1.077 GB, free: 92.61 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/0.9778, allocations: 0 / 1.077 GB, free: 92.61 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.978, allocations: 65.69 kB / 1.077 GB, free: 92.61 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.978, allocations: 39.97 kB / 1.077 GB, free: 92.61 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.9814, allocations: 1.562 MB / 1.078 GB, free: 92.58 MB / 1.01 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.01228/0.9936, allocations: 8.495 MB / 1.087 GB, free: 89.65 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.9972, allocations: 1.028 MB / 1.088 GB, free: 89.56 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008237/0.9981, allocations: 365.5 kB / 1.088 GB, free: 89.54 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/0.9986, allocations: 164.9 kB / 1.088 GB, free: 89.53 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.9986, allocations: 46.05 kB / 1.088 GB, free: 89.49 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 3.787e-06/0.9986, allocations: 2.719 kB / 1.088 GB, free: 89.49 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.007638/1.006, allocations: 1.87 MB / 1.09 GB, free: 89.25 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.006, allocations: 91.22 kB / 1.09 GB, free: 89.16 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/1.011, allocations: 2.747 MB / 1.093 GB, free: 88.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001833/1.011, allocations: 51.7 kB / 1.093 GB, free: 88.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/1.012, allocations: 1.358 MB / 1.094 GB, free: 88.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003105/1.012, allocations: 301.6 kB / 1.095 GB, free: 88.16 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006464/1.013, allocations: 379.8 kB / 1.095 GB, free: 88.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002082/1.013, allocations: 0.5686 MB / 1.095 GB, free: 87.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/1.015, allocations: 499.5 kB / 1.096 GB, free: 87.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/1.017, allocations: 2.032 MB / 1.098 GB, free: 85.78 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/1.019, allocations: 1.651 MB / 1.1 GB, free: 84.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.019, allocations: 4.906 kB / 1.1 GB, free: 84.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007618/1.027, allocations: 2.152 MB / 1.102 GB, free: 84.63 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/1.027, allocations: 16.44 kB / 1.102 GB, free: 84.63 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/1.027, allocations: 16.62 kB / 1.102 GB, free: 84.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/1.029, allocations: 0.4887 MB / 1.102 GB, free: 84.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.03, allocations: 300.6 kB / 1.102 GB, free: 84.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/1.032, allocations: 2.038 MB / 1.104 GB, free: 82.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/1.034, allocations: 239.6 kB / 1.105 GB, free: 82.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/1.034, allocations: 86.25 kB / 1.105 GB, free: 82.89 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (141): * Single equations (assignments): 139 * 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.001151/1.036, allocations: 0.5182 MB / 1.105 GB, free: 82.72 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004935/1.036, allocations: 241.9 kB / 1.106 GB, free: 82.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/1.039, allocations: 1.308 MB / 1.107 GB, free: 82.45 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/1.039, allocations: 11.31 kB / 1.107 GB, free: 82.45 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.039, allocations: 4.688 kB / 1.107 GB, free: 82.45 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/1.039, allocations: 11.55 kB / 1.107 GB, free: 82.44 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007957/1.047, allocations: 3.648 MB / 1.11 GB, free: 81.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.047, allocations: 3.594 kB / 1.11 GB, free: 81.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005485/1.048, allocations: 116.3 kB / 1.11 GB, free: 81.75 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001631/1.05, allocations: 469.2 kB / 1.111 GB, free: 81.69 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/1.05, allocations: 25.64 kB / 1.111 GB, free: 81.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/1.052, allocations: 2.069 MB / 1.113 GB, free: 80.08 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.052, allocations: 3.562 kB / 1.113 GB, free: 80.08 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/1.057, allocations: 1.776 MB / 1.115 GB, free: 79.45 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.058, allocations: 386.5 kB / 1.115 GB, free: 79.32 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/1.058, allocations: 24.3 kB / 1.115 GB, free: 79.32 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.06, allocations: 77.56 kB / 1.115 GB, free: 79.31 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/1.06, allocations: 59.19 kB / 1.115 GB, free: 79.31 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.06, allocations: 43.56 kB / 1.115 GB, free: 79.31 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003043/1.063, allocations: 1.633 MB / 1.117 GB, free: 79.12 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/1.063, allocations: 1.062 kB / 1.117 GB, free: 79.12 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002921/1.066, allocations: 0.762 MB / 1.118 GB, free: 78.98 MB / 1.01 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.00118/1.067, allocations: 0.6083 MB / 1.118 GB, free: 78.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004324/1.071, allocations: 1.263 MB / 1.119 GB, free: 78.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.071, allocations: 1.25 kB / 1.119 GB, free: 78.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/1.073, allocations: 0.5627 MB / 1.12 GB, free: 78.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004765/1.078, allocations: 0.9231 MB / 1.121 GB, free: 78.57 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/1.086, allocations: 3.698 MB / 1.125 GB, free: 76.84 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/1.087, allocations: 0.9601 MB / 1.125 GB, free: 76.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002092/1.089, allocations: 363.3 kB / 1.126 GB, free: 76.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/1.09, allocations: 149 kB / 1.126 GB, free: 76.52 MB / 1.01 GB Notification: Performance of SimCode: time 2.374e-06/1.09, allocations: 3.062 kB / 1.126 GB, free: 76.52 MB / 1.01 GB Notification: Performance of Templates: time 0.07483/1.165, allocations: 41.62 MB / 1.167 GB, free: 66.77 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] 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.410371797042899]