Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01007/0.01007, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.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.543/2.543, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 12 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8965/0.897, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06569/0.9627, allocations: 59.78 MB / 1.013 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02356/0.9863, allocations: 11.91 MB / 1.025 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005558/0.9919, allocations: 51.62 kB / 1.025 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.9958, allocations: 0.5477 MB / 1.026 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008963/1.005, allocations: 1.804 MB / 1.027 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/1.009, allocations: 1.086 MB / 1.028 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006743/1.016, allocations: 3.901 MB / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/1.018, allocations: 0.8961 MB / 1.033 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003596/1.022, allocations: 1.124 MB / 1.034 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/1.024, allocations: 0.8515 MB / 1.035 GB, free: 13.12 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004347/1.025, allocations: 44 kB / 1.035 GB, free: 13.08 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/1.029, allocations: 1.345 MB / 1.036 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/1.029, allocations: 214.9 kB / 1.037 GB, free: 11.52 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001742/1.031, allocations: 0.635 MB / 1.037 GB, free: 10.88 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004883/1.036, allocations: 2.2 MB / 1.039 GB, free: 8.668 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.036, allocations: 4 kB / 1.039 GB, free: 8.664 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.126e-06/1.036, allocations: 0 / 1.039 GB, free: 8.664 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.136e-05/1.036, allocations: 0 / 1.039 GB, free: 8.664 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003441/1.039, allocations: 1.489 MB / 1.041 GB, free: 7.117 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/1.039, allocations: 8.031 kB / 1.041 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/1.041, allocations: 387 kB / 1.041 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/1.044, allocations: 1.128 MB / 1.042 GB, free: 5.543 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003676/1.044, allocations: 129.9 kB / 1.042 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/1.044, allocations: 80 kB / 1.043 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.046, allocations: 0.9661 MB / 1.043 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/1.046, allocations: 7.875 kB / 1.043 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/1.046, allocations: 36 kB / 1.044 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.046, allocations: 20 kB / 1.044 GB, free: 4.266 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/1.048, allocations: 0.847 MB / 1.044 GB, free: 3.418 MB / 0.795 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.006869/1.055, allocations: 4.804 MB / 1.049 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/1.057, allocations: 0.5893 MB / 1.05 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/1.058, allocations: 293.5 kB / 1.05 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/1.059, allocations: 1.392 MB / 1.051 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.06, allocations: 38.55 kB / 1.051 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.464e-06/1.06, allocations: 0 / 1.051 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.00734/1.067, allocations: 1.853 MB / 1.053 GB, free: 9.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.067, allocations: 55.41 kB / 1.053 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/1.069, allocations: 1.055 MB / 1.054 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/1.069, allocations: 37.7 kB / 1.054 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/1.069, allocations: 0.5274 MB / 1.055 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.069, allocations: 145.8 kB / 1.055 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.016e-05/1.069, allocations: 53.62 kB / 1.055 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.07, allocations: 330 kB / 1.055 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008134/1.07, allocations: 285 kB / 1.056 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009661/1.071, allocations: 0.4895 MB / 1.056 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/1.073, allocations: 0.6587 MB / 1.057 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.073, allocations: 0 / 1.057 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002568/1.076, allocations: 0.9766 MB / 1.058 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/1.076, allocations: 216.1 kB / 1.058 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.076, allocations: 7.984 kB / 1.058 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.077, allocations: 338.7 kB / 1.058 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/1.077, allocations: 111.8 kB / 1.058 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/1.079, allocations: 0.9426 MB / 1.059 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/1.08, allocations: 179.2 kB / 1.059 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/1.08, allocations: 24 kB / 1.059 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.081, allocations: 5.562 kB / 1.059 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/1.083, allocations: 0.8478 MB / 1.06 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.083, allocations: 4 kB / 1.06 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/1.084, allocations: 326.8 kB / 1.06 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/1.084, allocations: 111.8 kB / 1.061 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.086, allocations: 0.9464 MB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.087, allocations: 151.3 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/1.087, allocations: 39.92 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005886/1.088, allocations: 346.9 kB / 1.062 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/1.088, allocations: 106.7 kB / 1.062 GB, free: 168 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/1.091, allocations: 1.07 MB / 1.063 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.091, allocations: 8 kB / 1.063 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/1.091, allocations: 8 kB / 1.063 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.091, allocations: 7.938 kB / 1.063 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/1.097, allocations: 2.165 MB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.097, allocations: 0 / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/1.097, allocations: 59.91 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/1.098, allocations: 332.7 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/1.098, allocations: 12 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/1.1, allocations: 0.9681 MB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.1, allocations: 7.938 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/1.104, allocations: 1.191 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/1.104, allocations: 279.4 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/1.105, allocations: 11.98 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.106, allocations: 107.8 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.682e-05/1.106, allocations: 35.89 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/1.106, allocations: 23.98 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001511/1.107, allocations: 0.743 MB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.7e-07/1.107, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00195/1.109, allocations: 0.5692 MB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/1.11, allocations: 413 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002986/1.113, allocations: 1.058 MB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.113, allocations: 7.984 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/1.114, allocations: 330.8 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.117, allocations: 0.5058 MB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/1.122, allocations: 2.257 MB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/1.122, allocations: 1.062 MB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001007/1.123, allocations: 219.8 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/1.124, allocations: 75.42 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/1.124, allocations: 0 / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.04421/1.168, allocations: 24.03 MB / 1.099 GB, free: 10.66 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches