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.001712/0.001712, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.001898/0.001898, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.16 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.268/2.268, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9454/0.947, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1534/1.1, allocations: 132.2 MB / 1.218 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03581/1.136, allocations: 23.23 MB / 1.24 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005506/1.142, allocations: 125.6 kB / 1.241 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005092/1.147, allocations: 1.492 MB / 1.242 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01646/1.163, allocations: 4.108 MB / 1.246 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006895/1.17, allocations: 2.164 MB / 1.248 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01122/1.182, allocations: 6.533 MB / 1.255 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004996/1.187, allocations: 2.357 MB / 1.257 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008343/1.195, allocations: 2.805 MB / 1.26 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004245/1.199, allocations: 1.885 MB / 1.261 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001232/1.201, allocations: 252 kB / 1.262 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006133/1.207, allocations: 1.942 MB / 1.264 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/1.208, allocations: 0.5992 MB / 1.264 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004162/1.212, allocations: 1.454 MB / 1.266 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/1.223, allocations: 4.349 MB / 1.27 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.223, allocations: 0 / 1.27 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.223, allocations: 0 / 1.27 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001557/1.223, allocations: 0 / 1.27 GB, free: 4.219 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.008359/1.231, allocations: 3.179 MB / 1.273 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.231, allocations: 12.03 kB / 1.273 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/1.236, allocations: 0.8358 MB / 1.274 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006118/1.242, allocations: 2.346 MB / 1.276 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/1.242, allocations: 127 kB / 1.276 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004824/1.243, allocations: 160 kB / 1.276 GB, free: 13.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00503/1.248, allocations: 1.925 MB / 1.278 GB, free: 11.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/1.248, allocations: 7.938 kB / 1.278 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/1.248, allocations: 63.94 kB / 1.278 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/1.248, allocations: 40 kB / 1.278 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004942/1.253, allocations: 1.784 MB / 1.28 GB, free: 9.516 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.01538/1.269, allocations: 8.965 MB / 1.289 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/1.273, allocations: 1.197 MB / 1.29 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/1.274, allocations: 465.2 kB / 1.29 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/1.275, allocations: 1.719 MB / 1.292 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/1.276, allocations: 50.44 kB / 1.292 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 3.216e-06/1.276, allocations: 4 kB / 1.292 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.00948/1.285, allocations: 2.316 MB / 1.294 GB, free: 9.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.285, allocations: 85.11 kB / 1.294 GB, free: 9.637 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/1.29, allocations: 2.508 MB / 1.297 GB, free: 7.109 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002316/1.291, allocations: 41.7 kB / 1.297 GB, free: 7.062 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.292, allocations: 1.038 MB / 1.298 GB, free: 6.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/1.292, allocations: 268.2 kB / 1.298 GB, free: 5.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/1.293, allocations: 254.6 kB / 1.298 GB, free: 5.492 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.293, allocations: 349.9 kB / 1.299 GB, free: 5.145 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/1.295, allocations: 0.5763 MB / 1.299 GB, free: 4.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002184/1.297, allocations: 0.9581 MB / 1.3 GB, free: 3.457 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/1.3, allocations: 1.252 MB / 1.302 GB, free: 2.098 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.3, allocations: 0 / 1.302 GB, free: 2.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007121/1.307, allocations: 2.016 MB / 1.303 GB, free: 64 kB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/1.308, allocations: 10.81 kB / 1.303 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/1.308, allocations: 11.98 kB / 1.303 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/1.31, allocations: 421.3 kB / 1.304 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/1.311, allocations: 279.6 kB / 1.304 GB, free: 15.35 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/1.314, allocations: 1.5 MB / 1.306 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/1.317, allocations: 370 kB / 1.306 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/1.317, allocations: 59.97 kB / 1.306 GB, free: 13.38 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.001241/1.318, allocations: 461.5 kB / 1.306 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008333/1.319, allocations: 244.9 kB / 1.307 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004084/1.323, allocations: 1.498 MB / 1.308 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/1.323, allocations: 15.98 kB / 1.308 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.323, allocations: 0 / 1.308 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.323, allocations: 15.86 kB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009144/1.332, allocations: 3.592 MB / 1.312 GB, free: 7.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/1.332, allocations: 7.938 kB / 1.312 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/1.333, allocations: 124.1 kB / 1.312 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/1.335, allocations: 413.2 kB / 1.312 GB, free: 6.887 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.659e-05/1.335, allocations: 31.97 kB / 1.312 GB, free: 6.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/1.337, allocations: 1.565 MB / 1.314 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.337, allocations: 4 kB / 1.314 GB, free: 5.234 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/1.344, allocations: 1.943 MB / 1.316 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/1.345, allocations: 481.6 kB / 1.316 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007782/1.346, allocations: 27.89 kB / 1.316 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.348, allocations: 139.8 kB / 1.316 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.348, allocations: 59.8 kB / 1.316 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.349, allocations: 39.97 kB / 1.316 GB, free: 2.469 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004049/1.353, allocations: 1.753 MB / 1.318 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.92e-07/1.353, allocations: 0 / 1.318 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002994/1.356, allocations: 0.6828 MB / 1.319 GB, free: 28 kB / 1.045 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.001647/1.357, allocations: 0.619 MB / 1.319 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004553/1.362, allocations: 1.342 MB / 1.321 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.362, allocations: 4 kB / 1.321 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/1.364, allocations: 0.6642 MB / 1.321 GB, free: 13.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007281/1.372, allocations: 1.321 MB / 1.323 GB, free: 12.1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/1.38, allocations: 3.574 MB / 1.326 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/1.381, allocations: 1.482 MB / 1.328 GB, free: 6.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/1.382, allocations: 179.4 kB / 1.328 GB, free: 6.754 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.382, allocations: 0 / 1.328 GB, free: 6.754 MB / 1.061 GB Notification: Performance of Templates: time 0.08665/1.469, allocations: 62.6 MB / 1.389 GB, free: 8.496 MB / 1.123 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