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.00166/0.00166, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001895/0.001895, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.426/1.426, allocations: 222.9 MB / 240.6 MB, free: 13.72 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.292/2.292, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 69 kB / 0.8127 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07072/0.3606, allocations: 69.91 MB / 1.018 GB, free: 3.121 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.3866, allocations: 18.8 MB / 1.036 GB, free: 284 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.3902, allocations: 63.62 kB / 1.036 GB, free: 220 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.3932, allocations: 0.7035 MB / 1.037 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.009727/0.4031, allocations: 2.66 MB / 1.04 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.4083, allocations: 1.519 MB / 1.041 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00713/0.4155, allocations: 4.05 MB / 1.045 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003153/0.4187, allocations: 1.453 MB / 1.047 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005699/0.4244, allocations: 1.771 MB / 1.048 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.4273, allocations: 1.229 MB / 1.05 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0006426/0.4279, allocations: 176 kB / 1.05 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003944/0.4319, allocations: 1.427 MB / 1.051 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006984/0.4326, allocations: 390.6 kB / 1.051 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.4351, allocations: 0.9178 MB / 1.052 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005144/0.4403, allocations: 2.463 MB / 1.055 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.4403, allocations: 0 / 1.055 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4403, allocations: 0 / 1.055 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001115/0.4404, allocations: 0 / 1.055 GB, free: 13.39 MB / 0.8419 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.006262/0.4467, allocations: 2.027 MB / 1.057 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4468, allocations: 8.031 kB / 1.057 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.4493, allocations: 445.8 kB / 1.057 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00363/0.453, allocations: 1.512 MB / 1.059 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004253/0.4534, allocations: 142 kB / 1.059 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.4537, allocations: 104 kB / 1.059 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.457, allocations: 1.293 MB / 1.06 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.4571, allocations: 3.938 kB / 1.06 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.4572, allocations: 44 kB / 1.06 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.4572, allocations: 27.94 kB / 1.06 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003032/0.4603, allocations: 1.105 MB / 1.061 GB, free: 6.48 MB / 0.8419 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.01123/0.4715, allocations: 7.137 MB / 1.068 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.4748, allocations: 0.7979 MB / 1.069 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.4755, allocations: 285.9 kB / 1.069 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/0.4769, allocations: 1.726 MB / 1.071 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.477, allocations: 39 kB / 1.071 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=48): time 3.036e-06/0.477, allocations: 0 / 1.071 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.005025/0.482, allocations: 1.33 MB / 1.072 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.4821, allocations: 59.78 kB / 1.072 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/0.4852, allocations: 1.533 MB / 1.074 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.4853, allocations: 37.7 kB / 1.074 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.486, allocations: 0.6653 MB / 1.075 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.4862, allocations: 173.6 kB / 1.075 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.4866, allocations: 158.5 kB / 1.075 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4867, allocations: 337.9 kB / 1.075 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009705/0.4877, allocations: 361.8 kB / 1.076 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.4893, allocations: 0.6392 MB / 1.076 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.4915, allocations: 0.8444 MB / 1.077 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/0.4915, allocations: 4 kB / 1.077 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004728/0.4962, allocations: 1.334 MB / 1.078 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.4963, allocations: 8 kB / 1.078 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/0.4963, allocations: 12.09 kB / 1.078 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4974, allocations: 216.6 kB / 1.079 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/0.4982, allocations: 187.7 kB / 1.079 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.4992, allocations: 0.7123 MB / 1.079 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.5012, allocations: 246.6 kB / 1.08 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5013, allocations: 39.98 kB / 1.08 GB, free: 2.406 MB / 0.8575 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.0008719/0.5022, allocations: 353.6 kB / 1.08 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.5026, allocations: 142.2 kB / 1.08 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.5055, allocations: 1.137 MB / 1.081 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/0.5056, allocations: 15.94 kB / 1.081 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5056, allocations: 0 / 1.081 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5056, allocations: 3.984 kB / 1.081 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5324/1.038, allocations: 2.497 MB / 1.084 GB, free: 132.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.038, allocations: 5.312 kB / 1.084 GB, free: 132.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/1.039, allocations: 81.97 kB / 1.084 GB, free: 132.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009034/1.039, allocations: 216.9 kB / 1.084 GB, free: 132.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/1.04, allocations: 17.44 kB / 1.084 GB, free: 132.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/1.041, allocations: 0.7689 MB / 1.085 GB, free: 132.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.041, allocations: 8.062 kB / 1.085 GB, free: 132.2 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/1.044, allocations: 1.202 MB / 1.086 GB, free: 131.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007014/1.045, allocations: 348.3 kB / 1.086 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.045, allocations: 13.31 kB / 1.086 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.046, allocations: 89.62 kB / 1.086 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/1.046, allocations: 46.36 kB / 1.086 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/1.047, allocations: 25.91 kB / 1.086 GB, free: 131.6 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002044/1.049, allocations: 1.078 MB / 1.088 GB, free: 131.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/1.049, allocations: 0 / 1.088 GB, free: 131.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001696/1.05, allocations: 441.1 kB / 1.088 GB, free: 131.1 MB / 0.8575 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.001064/1.051, allocations: 468.5 kB / 1.088 GB, free: 131 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00265/1.054, allocations: 0.8675 MB / 1.089 GB, free: 130.7 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.054, allocations: 1.609 kB / 1.089 GB, free: 130.7 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001446/1.056, allocations: 443 kB / 1.09 GB, free: 130.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/1.059, allocations: 0.7462 MB / 1.09 GB, free: 130.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/1.064, allocations: 2.783 MB / 1.093 GB, free: 128.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.065, allocations: 1.166 MB / 1.094 GB, free: 128.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004766/1.065, allocations: 118.7 kB / 1.094 GB, free: 128 MB / 0.8575 GB Notification: Performance of SimCode: time 8.72e-07/1.065, allocations: 0 / 1.094 GB, free: 128 MB / 0.8575 GB Notification: Performance of Templates: time 0.05732/1.123, allocations: 33.82 MB / 1.127 GB, free: 115 MB / 0.8575 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/jenkins1/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