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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008088/0.008088, allocations: 97.59 kB / 15.73 MB, free: 6.059 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.001497/0.001497, allocations: 192 kB / 16.67 MB, free: 5.969 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9392/0.9405, allocations: 140.4 MB / 1.088 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1498/1.09, allocations: 132.2 MB / 1.217 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03942/1.13, allocations: 23.22 MB / 1.24 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006861/1.137, allocations: 124.4 kB / 1.24 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005593/1.142, allocations: 1.535 MB / 1.241 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01599/1.158, allocations: 4.316 MB / 1.246 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007307/1.166, allocations: 2.173 MB / 1.248 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01142/1.177, allocations: 6.554 MB / 1.254 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004609/1.182, allocations: 2.361 MB / 1.256 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007121/1.189, allocations: 2.817 MB / 1.259 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/1.193, allocations: 1.884 MB / 1.261 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007974/1.193, allocations: 244 kB / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/1.199, allocations: 1.946 MB / 1.263 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/1.2, allocations: 0.5992 MB / 1.264 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003385/1.204, allocations: 1.45 MB / 1.265 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.011/1.215, allocations: 4.362 MB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/1.215, allocations: 0 / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.086e-06/1.215, allocations: 0 / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000219/1.215, allocations: 0 / 1.269 GB, free: 4.023 MB / 0.9981 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.008912/1.224, allocations: 3.176 MB / 1.272 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.224, allocations: 12.02 kB / 1.272 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004696/1.229, allocations: 0.828 MB / 1.273 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006663/1.236, allocations: 2.338 MB / 1.276 GB, free: 13.49 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/1.236, allocations: 131 kB / 1.276 GB, free: 13.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/1.236, allocations: 160 kB / 1.276 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/1.241, allocations: 1.926 MB / 1.278 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/1.241, allocations: 0 / 1.278 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.241, allocations: 67.94 kB / 1.278 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/1.241, allocations: 40 kB / 1.278 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004543/1.246, allocations: 1.792 MB / 1.28 GB, free: 9.316 MB / 1.014 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.01458/1.26, allocations: 8.957 MB / 1.288 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/1.264, allocations: 1.195 MB / 1.29 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/1.266, allocations: 465.9 kB / 1.29 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001198/1.267, allocations: 1.722 MB / 1.292 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/1.267, allocations: 46.5 kB / 1.292 GB, free: 11.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 3.857e-06/1.267, allocations: 3.938 kB / 1.292 GB, free: 11.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.008356/1.275, allocations: 2.32 MB / 1.294 GB, free: 9.547 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.275, allocations: 93.11 kB / 1.294 GB, free: 9.438 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/1.28, allocations: 2.5 MB / 1.296 GB, free: 6.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/1.28, allocations: 45.7 kB / 1.297 GB, free: 6.867 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009342/1.281, allocations: 1.045 MB / 1.298 GB, free: 5.812 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/1.281, allocations: 264.2 kB / 1.298 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005053/1.282, allocations: 254.6 kB / 1.298 GB, free: 5.293 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.282, allocations: 345.9 kB / 1.298 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/1.284, allocations: 0.5725 MB / 1.299 GB, free: 4.379 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/1.286, allocations: 0.9543 MB / 1.3 GB, free: 3.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/1.289, allocations: 1.252 MB / 1.301 GB, free: 1.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.289, allocations: 4 kB / 1.301 GB, free: 1.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006283/1.295, allocations: 2.009 MB / 1.303 GB, free: 15.88 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.295, allocations: 8 kB / 1.303 GB, free: 15.87 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.295, allocations: 8 kB / 1.303 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/1.297, allocations: 429.8 kB / 1.303 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.298, allocations: 279.6 kB / 1.304 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/1.3, allocations: 1.503 MB / 1.305 GB, free: 13.61 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/1.303, allocations: 369.9 kB / 1.306 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/1.303, allocations: 67.97 kB / 1.306 GB, free: 13.18 MB / 1.045 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.304, allocations: 453.5 kB / 1.306 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005808/1.305, allocations: 248.9 kB / 1.306 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/1.309, allocations: 1.494 MB / 1.308 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/1.309, allocations: 15.98 kB / 1.308 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.309, allocations: 0 / 1.308 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.309, allocations: 7.984 kB / 1.308 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007757/1.316, allocations: 3.596 MB / 1.311 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.316, allocations: 8.031 kB / 1.311 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006119/1.317, allocations: 131.8 kB / 1.311 GB, free: 7.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/1.318, allocations: 421.1 kB / 1.312 GB, free: 6.684 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/1.319, allocations: 27.97 kB / 1.312 GB, free: 6.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/1.321, allocations: 1.574 MB / 1.313 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.321, allocations: 4 kB / 1.313 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006317/1.327, allocations: 1.935 MB / 1.315 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.329, allocations: 489.6 kB / 1.316 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007411/1.33, allocations: 23.89 kB / 1.316 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/1.332, allocations: 139.8 kB / 1.316 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.332, allocations: 59.8 kB / 1.316 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/1.332, allocations: 43.97 kB / 1.316 GB, free: 2.266 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003271/1.335, allocations: 1.753 MB / 1.318 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.6e-07/1.335, allocations: 0 / 1.318 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002499/1.338, allocations: 0.6867 MB / 1.318 GB, free: 15.82 MB / 1.061 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.001341/1.339, allocations: 0.5982 MB / 1.319 GB, free: 15.22 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004309/1.343, allocations: 1.346 MB / 1.32 GB, free: 13.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.343, allocations: 4.062 kB / 1.32 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/1.346, allocations: 0.6601 MB / 1.321 GB, free: 13.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006057/1.352, allocations: 1.331 MB / 1.322 GB, free: 11.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/1.359, allocations: 3.54 MB / 1.326 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/1.36, allocations: 1.49 MB / 1.327 GB, free: 6.762 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002158/1.362, allocations: 424.6 kB / 1.328 GB, free: 6.344 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/1.363, allocations: 171.4 kB / 1.328 GB, free: 6.176 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/1.363, allocations: 0 / 1.328 GB, free: 6.176 MB / 1.061 GB Notification: Performance of Templates: time 0.08661/1.449, allocations: 48.58 MB / 1.375 GB, free: 6.273 MB / 1.107 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches