Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001366/0.001366, allocations: 192.1 kB / 16.25 MB, free: 6.637 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.468/2.468, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 75.88 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8321, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06856/0.9007, allocations: 69.92 MB / 1.017 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03139/0.9322, allocations: 18.79 MB / 1.036 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00402/0.9362, allocations: 63.62 kB / 1.036 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.9394, allocations: 0.6996 MB / 1.036 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009935/0.9495, allocations: 2.664 MB / 1.039 GB, free: 5.676 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.9546, allocations: 1.51 MB / 1.041 GB, free: 4.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00668/0.9613, allocations: 4.062 MB / 1.045 GB, free: 104 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.9644, allocations: 1.445 MB / 1.046 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005433/0.9698, allocations: 1.777 MB / 1.048 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002606/0.9725, allocations: 1.21 MB / 1.049 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0006649/0.9731, allocations: 184 kB / 1.049 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004137/0.9773, allocations: 1.431 MB / 1.05 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0007885/0.9781, allocations: 386.6 kB / 1.051 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.9802, allocations: 0.9254 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00647/0.9867, allocations: 3.093 MB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.9867, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9867, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001062/0.9868, allocations: 0 / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.0049/0.9917, allocations: 2.027 MB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.9918, allocations: 12.03 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.9942, allocations: 445.8 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.9972, allocations: 1.504 MB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003838/0.9976, allocations: 142 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.9977, allocations: 100 kB / 1.059 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1, allocations: 1.297 MB / 1.06 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1, allocations: 3.938 kB / 1.06 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.001, allocations: 44 kB / 1.06 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/1.001, allocations: 27.94 kB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/1.003, allocations: 1.105 MB / 1.061 GB, free: 14.69 MB / 0.8262 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.00945/1.013, allocations: 7.145 MB / 1.068 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/1.016, allocations: 0.8023 MB / 1.069 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/1.016, allocations: 293.9 kB / 1.069 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/1.018, allocations: 1.718 MB / 1.071 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.018, allocations: 43 kB / 1.071 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=48): time 2.214e-06/1.018, allocations: 3.938 kB / 1.071 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=48): time 0.005141/1.023, allocations: 1.327 MB / 1.072 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.023, allocations: 55.84 kB / 1.072 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/1.026, allocations: 1.521 MB / 1.074 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.026, allocations: 37.7 kB / 1.074 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000631/1.027, allocations: 0.6653 MB / 1.075 GB, free: 120 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/1.027, allocations: 169.8 kB / 1.075 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/1.027, allocations: 166.5 kB / 1.075 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.027, allocations: 333.9 kB / 1.075 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009883/1.028, allocations: 365.8 kB / 1.076 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/1.03, allocations: 0.6315 MB / 1.076 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/1.031, allocations: 0.8561 MB / 1.077 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.032, allocations: 0 / 1.077 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004391/1.036, allocations: 1.329 MB / 1.078 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.036, allocations: 11.94 kB / 1.078 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/1.036, allocations: 4.812 kB / 1.078 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008848/1.037, allocations: 224.6 kB / 1.078 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/1.038, allocations: 187.7 kB / 1.079 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00087/1.039, allocations: 0.724 MB / 1.079 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.04, allocations: 234.7 kB / 1.08 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.431e-05/1.041, allocations: 39.98 kB / 1.08 GB, free: 10.61 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007766/1.041, allocations: 349.6 kB / 1.08 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/1.042, allocations: 150.1 kB / 1.08 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/1.044, allocations: 1.146 MB / 1.081 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.044, allocations: 7.938 kB / 1.081 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.044, allocations: 0 / 1.081 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.044, allocations: 11.97 kB / 1.081 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/1.049, allocations: 2.498 MB / 1.084 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/1.049, allocations: 4 kB / 1.084 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/1.05, allocations: 87.97 kB / 1.084 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/1.051, allocations: 216.8 kB / 1.084 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/1.051, allocations: 15.98 kB / 1.084 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/1.052, allocations: 0.767 MB / 1.085 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.052, allocations: 8 kB / 1.085 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/1.055, allocations: 1.207 MB / 1.086 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/1.056, allocations: 343 kB / 1.086 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/1.056, allocations: 12 kB / 1.086 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009578/1.057, allocations: 99.67 kB / 1.086 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.057, allocations: 36.52 kB / 1.086 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.619e-05/1.058, allocations: 23.98 kB / 1.086 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001828/1.059, allocations: 1.082 MB / 1.087 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/1.059, allocations: 0 / 1.087 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001507/1.061, allocations: 427.5 kB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001048/1.062, allocations: 490.4 kB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00241/1.064, allocations: 0.8602 MB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/1.064, allocations: 4.25 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.066, allocations: 447.2 kB / 1.09 GB, free: 180 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.069, allocations: 0.7395 MB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/1.074, allocations: 2.745 MB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/1.075, allocations: 1.168 MB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001451/1.076, allocations: 274.6 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/1.077, allocations: 111.4 kB / 1.095 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of SimCode: time 1.353e-06/1.077, allocations: 0 / 1.095 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of Templates: time 0.0542/1.131, allocations: 31.07 MB / 1.125 GB, free: 12.38 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches