Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.CarnotVerifyCOP,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.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007432/0.007432, allocations: 100.9 kB / 15.87 MB, free: 5.867 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.001813/0.001813, allocations: 195.1 kB / 16.79 MB, free: 5.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.415/2.415, allocations: 390.2 MB / 0.6649 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6893, allocations: 140.3 MB / 0.9496 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.119/0.8084, allocations: 131.4 MB / 1.078 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03095/0.8394, allocations: 23.31 MB / 1.101 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004725/0.8441, allocations: 115.2 kB / 1.101 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004344/0.8485, allocations: 1.208 MB / 1.102 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.8611, allocations: 3.771 MB / 1.106 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006288/0.8674, allocations: 1.965 MB / 1.108 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01154/0.879, allocations: 8.28 MB / 1.116 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/0.8837, allocations: 1.968 MB / 1.118 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006827/0.8905, allocations: 2.364 MB / 1.12 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/0.8946, allocations: 1.882 MB / 1.122 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009978/0.8957, allocations: 120 kB / 1.122 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005607/0.9013, allocations: 1.742 MB / 1.123 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.9025, allocations: 489.7 kB / 1.124 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003111/0.9056, allocations: 1.321 MB / 1.125 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.9112, allocations: 3.325 MB / 1.129 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9112, allocations: 0 / 1.129 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9112, allocations: 4 kB / 1.129 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001511/0.9114, allocations: 0 / 1.129 GB, free: 10.39 MB / 0.8887 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.008058/0.9194, allocations: 3.187 MB / 1.132 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.9195, allocations: 12.03 kB / 1.132 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.9246, allocations: 0.8356 MB / 1.132 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.9296, allocations: 2.272 MB / 1.135 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009884/0.9306, allocations: 294.8 kB / 1.135 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003345/0.931, allocations: 160 kB / 1.135 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/0.9353, allocations: 1.938 MB / 1.137 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.9354, allocations: 7.938 kB / 1.137 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.9356, allocations: 63.94 kB / 1.137 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/0.9356, allocations: 40 kB / 1.137 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004921/0.9405, allocations: 1.815 MB / 1.139 GB, free: 15.54 MB / 0.9044 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.01392/0.9545, allocations: 9.012 MB / 1.148 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/0.959, allocations: 1.185 MB / 1.149 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.9602, allocations: 457.4 kB / 1.149 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.9614, allocations: 1.723 MB / 1.151 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.9615, allocations: 54.44 kB / 1.151 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 3.287e-06/0.9615, allocations: 0 / 1.151 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.009216/0.9707, allocations: 2.324 MB / 1.153 GB, free: 15.72 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.9708, allocations: 89.11 kB / 1.153 GB, free: 15.61 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004536/0.9753, allocations: 2.492 MB / 1.156 GB, free: 13.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.9756, allocations: 45.7 kB / 1.156 GB, free: 13.05 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008882/0.9765, allocations: 1.041 MB / 1.157 GB, free: 12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/0.9768, allocations: 272.2 kB / 1.157 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000428/0.9773, allocations: 258.6 kB / 1.157 GB, free: 11.47 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.9774, allocations: 349.9 kB / 1.158 GB, free: 11.12 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.9792, allocations: 0.588 MB / 1.158 GB, free: 10.54 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.9814, allocations: 0.9699 MB / 1.159 GB, free: 9.414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/0.9844, allocations: 1.26 MB / 1.16 GB, free: 8.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.9845, allocations: 4 kB / 1.16 GB, free: 8.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006985/0.9915, allocations: 2.04 MB / 1.162 GB, free: 5.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.9915, allocations: 11.98 kB / 1.162 GB, free: 5.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.9916, allocations: 8 kB / 1.162 GB, free: 5.973 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.9933, allocations: 425.3 kB / 1.163 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.9946, allocations: 287.6 kB / 1.163 GB, free: 5.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.9967, allocations: 1.505 MB / 1.165 GB, free: 3.715 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1, allocations: 439.4 kB / 1.165 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1, allocations: 59.97 kB / 1.165 GB, free: 3.227 MB / 0.92 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009212/1.001, allocations: 461.4 kB / 1.166 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005775/1.002, allocations: 249 kB / 1.166 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/1.005, allocations: 1.502 MB / 1.167 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/1.005, allocations: 12 kB / 1.167 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.005, allocations: 0 / 1.167 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.005, allocations: 7.984 kB / 1.167 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007641/1.013, allocations: 3.588 MB / 1.171 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.013, allocations: 4.062 kB / 1.171 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/1.014, allocations: 131.8 kB / 1.171 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001589/1.015, allocations: 421.2 kB / 1.171 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.003e-05/1.015, allocations: 27.98 kB / 1.171 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/1.018, allocations: 1.565 MB / 1.173 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.018, allocations: 7.938 kB / 1.173 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006304/1.024, allocations: 1.939 MB / 1.175 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.026, allocations: 489.5 kB / 1.175 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004435/1.026, allocations: 16.09 kB / 1.175 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.028, allocations: 183.6 kB / 1.175 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.028, allocations: 51.86 kB / 1.175 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.028, allocations: 43.97 kB / 1.175 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003313/1.032, allocations: 1.753 MB / 1.177 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.032, allocations: 0 / 1.177 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002587/1.034, allocations: 0.6788 MB / 1.178 GB, free: 5.84 MB / 0.9356 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/1.036, allocations: 0.5963 MB / 1.178 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00434/1.04, allocations: 1.353 MB / 1.18 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.04, allocations: 0 / 1.18 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.042, allocations: 0.6641 MB / 1.18 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006753/1.049, allocations: 1.254 MB / 1.182 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007313/1.056, allocations: 4.336 MB / 1.186 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/1.057, allocations: 1.478 MB / 1.187 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/1.058, allocations: 187.4 kB / 1.187 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of SimCode: time 6.12e-07/1.058, allocations: 0 / 1.187 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of Templates: time 0.5623/1.621, allocations: 62.02 MB / 1.248 GB, free: 276.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches