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.001677/0.001677, allocations: 105.6 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.001855/0.001855, allocations: 189.8 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.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.636/2.636, allocations: 437.1 MB / 0.7111 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 61.72 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.593/0.9345, allocations: 132.3 MB / 1.147 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03603/0.9706, allocations: 23.19 MB / 1.17 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006856/0.9775, allocations: 125.1 kB / 1.17 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005427/0.983, allocations: 1.488 MB / 1.171 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01626/0.9993, allocations: 4.106 MB / 1.175 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006775/1.006, allocations: 2.145 MB / 1.177 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01172/1.018, allocations: 6.517 MB / 1.184 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004632/1.023, allocations: 2.352 MB / 1.186 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008044/1.031, allocations: 2.749 MB / 1.189 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004999/1.036, allocations: 1.875 MB / 1.191 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009785/1.037, allocations: 248.4 kB / 1.191 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006593/1.043, allocations: 1.936 MB / 1.193 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/1.045, allocations: 0.5905 MB / 1.193 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003203/1.048, allocations: 1.456 MB / 1.195 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009117/1.057, allocations: 4.301 MB / 1.199 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.057, allocations: 6.719 kB / 1.199 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.057, allocations: 0 / 1.199 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001014/1.057, allocations: 0 / 1.199 GB, free: 5.348 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.0075/1.065, allocations: 3.163 MB / 1.202 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.065, allocations: 12.92 kB / 1.202 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005005/1.07, allocations: 0.8362 MB / 1.203 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005557/1.075, allocations: 2.206 MB / 1.205 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001078/1.076, allocations: 294.8 kB / 1.205 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004778/1.077, allocations: 160 kB / 1.205 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/1.082, allocations: 1.942 MB / 1.207 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/1.082, allocations: 0 / 1.207 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000183/1.082, allocations: 64 kB / 1.207 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/1.082, allocations: 39.94 kB / 1.207 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005329/1.087, allocations: 1.815 MB / 1.209 GB, free: 10.89 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.01569/1.103, allocations: 9.054 MB / 1.218 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/1.108, allocations: 1.2 MB / 1.219 GB, free: 24 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.109, allocations: 459 kB / 1.22 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001473/1.11, allocations: 1.715 MB / 1.221 GB, free: 13.47 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/1.11, allocations: 46.5 kB / 1.221 GB, free: 13.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.785e-06/1.11, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.009548/1.12, allocations: 2.337 MB / 1.224 GB, free: 11.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/1.12, allocations: 89.09 kB / 1.224 GB, free: 10.92 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/1.125, allocations: 2.508 MB / 1.226 GB, free: 8.391 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002389/1.125, allocations: 45.7 kB / 1.226 GB, free: 8.34 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.126, allocations: 1.045 MB / 1.227 GB, free: 7.285 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.127, allocations: 264.2 kB / 1.228 GB, free: 7.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/1.127, allocations: 258.6 kB / 1.228 GB, free: 6.762 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.127, allocations: 349.9 kB / 1.228 GB, free: 6.414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/1.129, allocations: 0.5842 MB / 1.229 GB, free: 5.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/1.132, allocations: 0.9737 MB / 1.23 GB, free: 4.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003318/1.135, allocations: 1.26 MB / 1.231 GB, free: 3.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.135, allocations: 4 kB / 1.231 GB, free: 3.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007479/1.143, allocations: 2.044 MB / 1.233 GB, free: 1.277 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.143, allocations: 11.98 kB / 1.233 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/1.143, allocations: 8 kB / 1.233 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/1.144, allocations: 429.5 kB / 1.233 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.146, allocations: 283.6 kB / 1.234 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/1.148, allocations: 1.499 MB / 1.235 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.152, allocations: 399.9 kB / 1.235 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/1.152, allocations: 55.97 kB / 1.235 GB, free: 14.56 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.001012/1.153, allocations: 465.8 kB / 1.236 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/1.154, allocations: 248.8 kB / 1.236 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/1.158, allocations: 1.498 MB / 1.238 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.158, allocations: 12 kB / 1.238 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.158, allocations: 4 kB / 1.238 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/1.158, allocations: 7.984 kB / 1.238 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008869/1.167, allocations: 3.611 MB / 1.241 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.167, allocations: 4 kB / 1.241 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/1.167, allocations: 127.8 kB / 1.241 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/1.169, allocations: 420.2 kB / 1.242 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/1.169, allocations: 27.98 kB / 1.242 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002865/1.172, allocations: 1.577 MB / 1.243 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.172, allocations: 4 kB / 1.243 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006638/1.178, allocations: 1.927 MB / 1.245 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001373/1.18, allocations: 489.6 kB / 1.246 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/1.18, allocations: 20 kB / 1.246 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.182, allocations: 143.8 kB / 1.246 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.182, allocations: 59.81 kB / 1.246 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.182, allocations: 47.95 kB / 1.246 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003354/1.186, allocations: 1.761 MB / 1.248 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/1.186, allocations: 0 / 1.248 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00243/1.188, allocations: 0.6905 MB / 1.248 GB, free: 1.168 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.001384/1.19, allocations: 0.6052 MB / 1.249 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004733/1.194, allocations: 1.405 MB / 1.25 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.194, allocations: 3.984 kB / 1.25 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/1.197, allocations: 0.657 MB / 1.251 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007114/1.204, allocations: 1.327 MB / 1.252 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007588/1.212, allocations: 3.645 MB / 1.256 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.213, allocations: 1.478 MB / 1.257 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007854/1.214, allocations: 183.3 kB / 1.257 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of SimCode: time 1.162e-06/1.214, allocations: 0 / 1.257 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of Templates: time 0.09172/1.305, allocations: 62.34 MB / 1.318 GB, free: 9.77 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=400 -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