Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001518/0.001518, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001625/0.001625, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437.1 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.52 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6487/0.9547, allocations: 132.3 MB / 1.147 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03816/0.993, allocations: 23.2 MB / 1.17 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006041/0.999, allocations: 125.4 kB / 1.17 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005441/1.005, allocations: 1.492 MB / 1.171 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01562/1.02, allocations: 4.101 MB / 1.175 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007046/1.027, allocations: 2.147 MB / 1.177 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01141/1.039, allocations: 6.509 MB / 1.184 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005042/1.044, allocations: 2.355 MB / 1.186 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0082/1.052, allocations: 2.748 MB / 1.189 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004479/1.057, allocations: 1.877 MB / 1.191 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001151/1.058, allocations: 246.7 kB / 1.191 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00648/1.064, allocations: 1.931 MB / 1.193 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001042/1.065, allocations: 0.5955 MB / 1.193 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002846/1.068, allocations: 1.462 MB / 1.195 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007609/1.076, allocations: 4.302 MB / 1.199 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.076, allocations: 0 / 1.199 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.374e-06/1.076, allocations: 0 / 1.199 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.903e-05/1.076, allocations: 0 / 1.199 GB, free: 5.645 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.00625/1.082, allocations: 3.169 MB / 1.202 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.082, allocations: 8.922 kB / 1.202 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/1.087, allocations: 0.8439 MB / 1.203 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/1.092, allocations: 2.198 MB / 1.205 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009832/1.093, allocations: 302.8 kB / 1.205 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/1.093, allocations: 156 kB / 1.205 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/1.097, allocations: 1.934 MB / 1.207 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/1.097, allocations: 7.938 kB / 1.207 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/1.097, allocations: 60 kB / 1.207 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/1.097, allocations: 43.94 kB / 1.207 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/1.102, allocations: 1.811 MB / 1.209 GB, free: 11.12 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.01385/1.116, allocations: 9.059 MB / 1.218 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/1.12, allocations: 1.196 MB / 1.219 GB, free: 256 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/1.122, allocations: 453.4 kB / 1.22 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/1.123, allocations: 1.727 MB / 1.221 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/1.123, allocations: 42.55 kB / 1.221 GB, free: 13.64 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 3.877e-06/1.123, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.009106/1.132, allocations: 2.329 MB / 1.224 GB, free: 11.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/1.132, allocations: 89.11 kB / 1.224 GB, free: 11.15 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/1.136, allocations: 2.516 MB / 1.226 GB, free: 8.613 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.137, allocations: 45.7 kB / 1.226 GB, free: 8.562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008549/1.137, allocations: 1.03 MB / 1.227 GB, free: 7.523 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.138, allocations: 272.2 kB / 1.228 GB, free: 7.254 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/1.138, allocations: 262.6 kB / 1.228 GB, free: 6.988 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.138, allocations: 349.9 kB / 1.228 GB, free: 6.641 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/1.14, allocations: 0.5842 MB / 1.229 GB, free: 6.059 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/1.142, allocations: 0.9737 MB / 1.23 GB, free: 4.93 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/1.145, allocations: 1.26 MB / 1.231 GB, free: 3.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/1.145, allocations: 3.938 kB / 1.231 GB, free: 3.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007035/1.153, allocations: 2.052 MB / 1.233 GB, free: 1.496 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/1.153, allocations: 8 kB / 1.233 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.153, allocations: 8 kB / 1.233 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/1.154, allocations: 425.2 kB / 1.233 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.156, allocations: 283.6 kB / 1.234 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/1.158, allocations: 1.502 MB / 1.235 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.161, allocations: 391.9 kB / 1.235 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.161, allocations: 59.97 kB / 1.235 GB, free: 14.79 MB / 0.9356 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.0009549/1.162, allocations: 462.5 kB / 1.236 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/1.163, allocations: 252.8 kB / 1.236 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/1.166, allocations: 1.498 MB / 1.238 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.166, allocations: 12 kB / 1.238 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.166, allocations: 0 / 1.238 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.166, allocations: 7.922 kB / 1.238 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007854/1.174, allocations: 3.607 MB / 1.241 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.174, allocations: 4 kB / 1.241 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006267/1.175, allocations: 128.2 kB / 1.241 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/1.176, allocations: 417.1 kB / 1.242 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/1.177, allocations: 31.98 kB / 1.242 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002571/1.179, allocations: 1.577 MB / 1.243 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.179, allocations: 4 kB / 1.243 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006307/1.185, allocations: 1.924 MB / 1.245 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.187, allocations: 493.6 kB / 1.246 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/1.187, allocations: 20 kB / 1.246 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.189, allocations: 139.8 kB / 1.246 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.189, allocations: 67.8 kB / 1.246 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/1.189, allocations: 39.97 kB / 1.246 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00302/1.192, allocations: 1.761 MB / 1.248 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.42e-07/1.192, allocations: 0 / 1.248 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00213/1.195, allocations: 0.6905 MB / 1.248 GB, free: 1.41 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.001206/1.196, allocations: 0.6212 MB / 1.249 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004533/1.2, allocations: 1.394 MB / 1.25 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.2, allocations: 0 / 1.25 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.203, allocations: 0.6609 MB / 1.251 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006657/1.209, allocations: 1.338 MB / 1.252 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/1.216, allocations: 3.621 MB / 1.256 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.217, allocations: 1.486 MB / 1.257 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/1.218, allocations: 179.4 kB / 1.257 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of SimCode: time 1.182e-06/1.218, allocations: 0 / 1.257 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of Templates: time 0.08071/1.299, allocations: 62.35 MB / 1.318 GB, free: 9.996 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches