Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001395/0.001395, 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.001424/0.001424, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.537/1.537, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.901/2.901, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 63.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8247/0.8276, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07476/0.9024, allocations: 69.93 MB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.93, allocations: 18.78 MB / 1.103 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.9332, allocations: 67.56 kB / 1.103 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.937, allocations: 0.6918 MB / 1.104 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.9487, allocations: 2.666 MB / 1.107 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005458/0.9541, allocations: 1.518 MB / 1.108 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007169/0.9613, allocations: 4.061 MB / 1.112 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003214/0.9645, allocations: 1.453 MB / 1.114 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005232/0.9698, allocations: 1.768 MB / 1.115 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002791/0.9726, allocations: 1.217 MB / 1.117 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005951/0.9732, allocations: 176 kB / 1.117 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004033/0.9773, allocations: 1.435 MB / 1.118 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007318/0.978, allocations: 390.6 kB / 1.119 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.9802, allocations: 0.9216 MB / 1.119 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.9862, allocations: 3.097 MB / 1.122 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.9862, allocations: 0 / 1.122 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9863, allocations: 0 / 1.122 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001069/0.9864, allocations: 0 / 1.122 GB, free: 6.203 MB / 0.8731 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.004867/0.9912, allocations: 2.028 MB / 1.124 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9913, allocations: 12.03 kB / 1.124 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002273/0.9936, allocations: 438.5 kB / 1.125 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.9963, allocations: 1.512 MB / 1.126 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.9966, allocations: 134 kB / 1.126 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.9968, allocations: 108 kB / 1.127 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.9995, allocations: 1.297 MB / 1.128 GB, free: 484 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/0.9995, allocations: 15.86 kB / 1.128 GB, free: 468 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.9996, allocations: 40 kB / 1.128 GB, free: 428 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.9996, allocations: 28 kB / 1.128 GB, free: 400 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/1.002, allocations: 1.105 MB / 1.129 GB, free: 15.29 MB / 0.8887 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.009221/1.012, allocations: 7.125 MB / 1.136 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/1.015, allocations: 0.8143 MB / 1.137 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/1.015, allocations: 282 kB / 1.137 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001529/1.017, allocations: 1.718 MB / 1.139 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.017, allocations: 42.94 kB / 1.139 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 1.994e-06/1.017, allocations: 0 / 1.139 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004954/1.022, allocations: 1.338 MB / 1.14 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.022, allocations: 55.84 kB / 1.14 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/1.025, allocations: 1.521 MB / 1.142 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.025, allocations: 41.64 kB / 1.142 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/1.025, allocations: 0.6652 MB / 1.142 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/1.026, allocations: 173.6 kB / 1.142 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/1.026, allocations: 162.5 kB / 1.143 GB, free: 400 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.026, allocations: 330 kB / 1.143 GB, free: 64 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.027, allocations: 361.8 kB / 1.143 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/1.028, allocations: 0.6315 MB / 1.144 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/1.03, allocations: 0.8522 MB / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.03, allocations: 4 kB / 1.145 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004532/1.035, allocations: 1.337 MB / 1.146 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/1.035, allocations: 8 kB / 1.146 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.035, allocations: 8.812 kB / 1.146 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009632/1.036, allocations: 220.6 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/1.037, allocations: 183.7 kB / 1.146 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009504/1.037, allocations: 0.7201 MB / 1.147 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.039, allocations: 242.7 kB / 1.147 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.04, allocations: 39.98 kB / 1.147 GB, free: 11.22 MB / 0.9044 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.0007942/1.04, allocations: 357.5 kB / 1.148 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.041, allocations: 146.2 kB / 1.148 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.043, allocations: 1.137 MB / 1.149 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/1.043, allocations: 15.98 kB / 1.149 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.043, allocations: 3.938 kB / 1.149 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.043, allocations: 3.984 kB / 1.149 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/1.049, allocations: 2.506 MB / 1.151 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.049, allocations: 0 / 1.151 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/1.049, allocations: 87.88 kB / 1.152 GB, free: 6.863 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008477/1.05, allocations: 216.7 kB / 1.152 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/1.05, allocations: 19.98 kB / 1.152 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/1.052, allocations: 0.7631 MB / 1.152 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.052, allocations: 4.031 kB / 1.152 GB, free: 5.836 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/1.055, allocations: 1.203 MB / 1.154 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007519/1.056, allocations: 351 kB / 1.154 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.056, allocations: 19.91 kB / 1.154 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/1.057, allocations: 87.84 kB / 1.154 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.057, allocations: 48.38 kB / 1.154 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/1.057, allocations: 27.98 kB / 1.154 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00196/1.059, allocations: 1.074 MB / 1.155 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.059, allocations: 0 / 1.155 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001414/1.061, allocations: 435.4 kB / 1.156 GB, free: 2.551 MB / 0.9044 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.00119/1.062, allocations: 479.5 kB / 1.156 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00307/1.065, allocations: 0.8756 MB / 1.157 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.065, allocations: 256 / 1.157 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.067, allocations: 443.2 kB / 1.157 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004269/1.071, allocations: 0.7364 MB / 1.158 GB, free: 56 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/1.076, allocations: 2.73 MB / 1.161 GB, free: 13.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009347/1.077, allocations: 1.168 MB / 1.162 GB, free: 12.08 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001293/1.078, allocations: 267.9 kB / 1.162 GB, free: 11.81 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/1.079, allocations: 115.4 kB / 1.162 GB, free: 11.7 MB / 0.92 GB Notification: Performance of SimCode: time 8.22e-07/1.079, allocations: 0 / 1.162 GB, free: 11.7 MB / 0.92 GB Notification: Performance of Templates: time 0.05671/1.135, allocations: 31.09 MB / 1.193 GB, free: 12.98 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches