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.001219/0.001219, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 182.3 kB / 16.92 MB, free: 6.914 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.352 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.456/2.456, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003494, allocations: 15.98 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.679, allocations: 142.4 MB / 0.9557 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1311/0.8101, allocations: 129.4 MB / 1.082 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03291/0.8431, allocations: 23.06 MB / 1.105 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004923/0.848, allocations: 115.2 kB / 1.105 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00443/0.8525, allocations: 1.2 MB / 1.106 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.8641, allocations: 3.783 MB / 1.11 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005532/0.8697, allocations: 1.966 MB / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.8806, allocations: 8.268 MB / 1.12 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004213/0.8848, allocations: 1.918 MB / 1.121 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006043/0.8909, allocations: 2.301 MB / 1.124 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003606/0.8946, allocations: 1.784 MB / 1.125 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008129/0.8954, allocations: 92 kB / 1.125 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00513/0.9005, allocations: 1.711 MB / 1.127 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.9016, allocations: 449.6 kB / 1.128 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002998/0.9046, allocations: 1.295 MB / 1.129 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00529/0.9099, allocations: 3.258 MB / 1.132 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.91, allocations: 0 / 1.132 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/0.91, allocations: 0 / 1.132 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001439/0.9101, allocations: 0 / 1.132 GB, free: 10.28 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.006333/0.9165, allocations: 2.674 MB / 1.135 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9165, allocations: 8.031 kB / 1.135 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.9216, allocations: 0.9567 MB / 1.136 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.9272, allocations: 2.28 MB / 1.138 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/0.9284, allocations: 326.8 kB / 1.138 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/0.9289, allocations: 159.9 kB / 1.138 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.9344, allocations: 1.977 MB / 1.14 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.328e-05/0.9345, allocations: 7.875 kB / 1.14 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.9347, allocations: 64 kB / 1.14 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.9348, allocations: 40 kB / 1.14 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.9404, allocations: 1.901 MB / 1.142 GB, free: 15.66 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.01489/0.9554, allocations: 9.09 MB / 1.151 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/0.9601, allocations: 1.292 MB / 1.152 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.9614, allocations: 489.4 kB / 1.153 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.9626, allocations: 1.718 MB / 1.154 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.9627, allocations: 46.48 kB / 1.154 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.875e-06/0.9627, allocations: 0 / 1.154 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.009707/0.9724, allocations: 2.511 MB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.9725, allocations: 85.11 kB / 1.157 GB, free: 15.36 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004853/0.9773, allocations: 2.516 MB / 1.159 GB, free: 12.82 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.9776, allocations: 41.7 kB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009977/0.9786, allocations: 1.041 MB / 1.161 GB, free: 11.72 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.979, allocations: 272.2 kB / 1.161 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.9792, allocations: 85.67 kB / 1.161 GB, free: 11.36 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9793, allocations: 357.9 kB / 1.161 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.9813, allocations: 0.6271 MB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.9838, allocations: 1.009 MB / 1.163 GB, free: 9.219 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003385/0.9872, allocations: 1.334 MB / 1.164 GB, free: 7.785 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.9872, allocations: 4 kB / 1.164 GB, free: 7.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00743/0.9946, allocations: 2.192 MB / 1.166 GB, free: 5.57 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.9947, allocations: 8 kB / 1.166 GB, free: 5.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.9947, allocations: 8 kB / 1.166 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.9965, allocations: 437.3 kB / 1.167 GB, free: 5.121 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.9979, allocations: 311.5 kB / 1.167 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/1, allocations: 1.541 MB / 1.168 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.004, allocations: 479.9 kB / 1.169 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/1.004, allocations: 67.91 kB / 1.169 GB, free: 2.691 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.0009672/1.005, allocations: 461.5 kB / 1.169 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/1.005, allocations: 252.8 kB / 1.17 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/1.01, allocations: 1.556 MB / 1.171 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/1.01, allocations: 8 kB / 1.171 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.01, allocations: 0 / 1.171 GB, free: 404 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.01, allocations: 3.984 kB / 1.171 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/1.018, allocations: 3.694 MB / 1.175 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.018, allocations: 4 kB / 1.175 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/1.019, allocations: 140.2 kB / 1.175 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.021, allocations: 442.5 kB / 1.175 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.592e-05/1.021, allocations: 27.98 kB / 1.175 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002885/1.024, allocations: 1.637 MB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.024, allocations: 7.938 kB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006693/1.03, allocations: 2.068 MB / 1.179 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/1.032, allocations: 0.5054 MB / 1.18 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/1.032, allocations: 20 kB / 1.18 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.034, allocations: 195.7 kB / 1.18 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.035, allocations: 63.8 kB / 1.18 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.035, allocations: 39.97 kB / 1.18 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003571/1.038, allocations: 1.769 MB / 1.182 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.41e-07/1.038, allocations: 4 kB / 1.182 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002613/1.041, allocations: 0.6788 MB / 1.182 GB, free: 4.852 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.001474/1.042, allocations: 0.599 MB / 1.183 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004793/1.047, allocations: 1.443 MB / 1.184 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.047, allocations: 4 kB / 1.184 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.05, allocations: 0.7226 MB / 1.185 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008802/1.059, allocations: 1.311 MB / 1.186 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007971/1.067, allocations: 4.389 MB / 1.191 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/1.068, allocations: 1.491 MB / 1.192 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008333/1.069, allocations: 191.4 kB / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/1.069, allocations: 0 / 1.192 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of Templates: time 0.5547/1.624, allocations: 61.66 MB / 1.252 GB, free: 275.3 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