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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001326/0.001326, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.00137/0.00137, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003735, allocations: 8 kB / 0.8154 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9382/0.9386, allocations: 142.4 MB / 0.9544 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06792/1.007, allocations: 56.54 MB / 1.01 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01815/1.025, allocations: 11.23 MB / 1.021 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/1.028, allocations: 51.69 kB / 1.021 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00209/1.03, allocations: 456.8 kB / 1.021 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/1.036, allocations: 1.531 MB / 1.023 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/1.039, allocations: 0.8588 MB / 1.023 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005647/1.045, allocations: 3.383 MB / 1.027 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/1.047, allocations: 0.7879 MB / 1.027 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/1.05, allocations: 1.046 MB / 1.029 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/1.052, allocations: 0.8049 MB / 1.029 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003585/1.052, allocations: 44 kB / 1.029 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/1.056, allocations: 1.111 MB / 1.03 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004161/1.056, allocations: 207 kB / 1.031 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006964/1.057, allocations: 285 kB / 1.031 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/1.06, allocations: 1.629 MB / 1.032 GB, free: 15.4 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.06, allocations: 0 / 1.032 GB, free: 15.4 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/1.06, allocations: 0 / 1.032 GB, free: 15.4 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.195e-05/1.06, allocations: 0 / 1.032 GB, free: 15.4 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.003766/1.064, allocations: 1.508 MB / 1.034 GB, free: 13.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.064, allocations: 12.03 kB / 1.034 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/1.066, allocations: 378 kB / 1.034 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/1.068, allocations: 1.086 MB / 1.035 GB, free: 12.31 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/1.068, allocations: 133.9 kB / 1.036 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.069, allocations: 80 kB / 1.036 GB, free: 12.1 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/1.071, allocations: 0.9583 MB / 1.037 GB, free: 11.1 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.071, allocations: 4 kB / 1.037 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-05/1.071, allocations: 28 kB / 1.037 GB, free: 11.07 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/1.071, allocations: 20 kB / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/1.073, allocations: 0.8469 MB / 1.037 GB, free: 10.2 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.008303/1.081, allocations: 4.8 MB / 1.042 GB, free: 5.039 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/1.083, allocations: 0.5976 MB / 1.043 GB, free: 4.434 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006523/1.084, allocations: 287.8 kB / 1.043 GB, free: 4.152 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/1.085, allocations: 1.392 MB / 1.044 GB, free: 2.465 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/1.085, allocations: 46.44 kB / 1.044 GB, free: 2.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 4.218e-06/1.085, allocations: 0 / 1.044 GB, free: 2.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.006573/1.092, allocations: 1.845 MB / 1.046 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/1.092, allocations: 55.41 kB / 1.046 GB, free: 480 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/1.094, allocations: 1.04 MB / 1.047 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/1.094, allocations: 41.7 kB / 1.047 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/1.094, allocations: 0.5312 MB / 1.048 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/1.095, allocations: 149.8 kB / 1.048 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/1.095, allocations: 8 kB / 1.048 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.095, allocations: 326 kB / 1.048 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/1.096, allocations: 281 kB / 1.049 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/1.096, allocations: 493.2 kB / 1.049 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007532/1.097, allocations: 323.4 kB / 1.049 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.097, allocations: 4 kB / 1.049 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002479/1.1, allocations: 0.9691 MB / 1.05 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/1.1, allocations: 216 kB / 1.05 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.1, allocations: 4 kB / 1.05 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/1.101, allocations: 324.7 kB / 1.051 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/1.102, allocations: 119.8 kB / 1.051 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.103, allocations: 0.9441 MB / 1.052 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.105, allocations: 183.2 kB / 1.052 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/1.105, allocations: 27.98 kB / 1.052 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.105, allocations: 5.875 kB / 1.052 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002138/1.107, allocations: 0.8357 MB / 1.053 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.107, allocations: 4 kB / 1.053 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/1.108, allocations: 321 kB / 1.053 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/1.108, allocations: 115.9 kB / 1.053 GB, free: 9.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.11, allocations: 0.9404 MB / 1.054 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.111, allocations: 151.5 kB / 1.054 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/1.111, allocations: 31.97 kB / 1.054 GB, free: 7.906 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007134/1.112, allocations: 349.5 kB / 1.055 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/1.112, allocations: 114.6 kB / 1.055 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/1.115, allocations: 1.07 MB / 1.056 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.115, allocations: 15.98 kB / 1.056 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.115, allocations: 0 / 1.056 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.115, allocations: 4 kB / 1.056 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/1.12, allocations: 2.161 MB / 1.058 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.12, allocations: 4 kB / 1.058 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/1.12, allocations: 59.91 kB / 1.058 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/1.121, allocations: 316.8 kB / 1.058 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/1.121, allocations: 19.94 kB / 1.058 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/1.123, allocations: 0.9653 MB / 1.059 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.123, allocations: 4 kB / 1.059 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/1.126, allocations: 1.195 MB / 1.06 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/1.127, allocations: 283.4 kB / 1.061 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/1.127, allocations: 8 kB / 1.061 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008545/1.128, allocations: 99.91 kB / 1.061 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/1.128, allocations: 43.83 kB / 1.061 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/1.128, allocations: 23.98 kB / 1.061 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001227/1.129, allocations: 0.7352 MB / 1.062 GB, free: 260 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/1.129, allocations: 0 / 1.062 GB, free: 260 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001717/1.131, allocations: 0.5614 MB / 1.062 GB, free: 15.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008778/1.132, allocations: 390.2 kB / 1.063 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002704/1.135, allocations: 1.058 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.135, allocations: 0 / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008428/1.135, allocations: 334.7 kB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/1.138, allocations: 0.5027 MB / 1.064 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/1.142, allocations: 2.217 MB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/1.143, allocations: 1.065 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001022/1.144, allocations: 211.7 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/1.144, allocations: 79.42 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of SimCode: time 7.82e-07/1.144, allocations: 0 / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of Templates: time 0.0429/1.187, allocations: 23.14 MB / 1.09 GB, free: 2.926 MB / 0.8419 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