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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.604/2.604, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5282, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06864/0.5969, allocations: 70.51 MB / 1.086 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.6202, allocations: 18.92 MB / 1.105 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002206/0.6225, allocations: 67.62 kB / 1.105 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002269/0.6248, allocations: 0.8189 MB / 1.106 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007528/0.6324, allocations: 2.854 MB / 1.108 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.6362, allocations: 1.638 MB / 1.11 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004878/0.641, allocations: 4.033 MB / 1.114 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.6433, allocations: 1.465 MB / 1.115 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.6471, allocations: 1.763 MB / 1.117 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.6492, allocations: 1.175 MB / 1.118 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.6497, allocations: 176 kB / 1.118 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.6528, allocations: 1.408 MB / 1.12 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.6533, allocations: 394.6 kB / 1.12 GB, free: 8.926 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.6546, allocations: 0.9177 MB / 1.121 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.6588, allocations: 3.073 MB / 1.124 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6589, allocations: 0 / 1.124 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6589, allocations: 0 / 1.124 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.964e-05/0.6589, allocations: 0 / 1.124 GB, free: 4.922 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.003859/0.6628, allocations: 2.028 MB / 1.126 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6628, allocations: 16.03 kB / 1.126 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.6631, allocations: 152.6 kB / 1.126 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.6654, allocations: 442.2 kB / 1.127 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/0.6679, allocations: 1.485 MB / 1.128 GB, free: 0.6836 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003809/0.6682, allocations: 134 kB / 1.128 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.6684, allocations: 104 kB / 1.128 GB, free: 460 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.6709, allocations: 1.322 MB / 1.13 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.6709, allocations: 7.938 kB / 1.13 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.671, allocations: 40 kB / 1.13 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.6711, allocations: 28 kB / 1.13 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.6738, allocations: 1.112 MB / 1.131 GB, free: 13.84 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.008067/0.6819, allocations: 7.552 MB / 1.138 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.6852, allocations: 0.8024 MB / 1.139 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.6858, allocations: 290 kB / 1.139 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.687, allocations: 1.718 MB / 1.141 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.687, allocations: 50.86 kB / 1.141 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.687, allocations: 0 / 1.141 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of matching and sorting (n=48): time 0.004837/0.6919, allocations: 1.338 MB / 1.142 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6919, allocations: 59.78 kB / 1.142 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/0.6943, allocations: 1.549 MB / 1.144 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.6944, allocations: 37.7 kB / 1.144 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/0.695, allocations: 0.6768 MB / 1.144 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.6952, allocations: 169.6 kB / 1.145 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.6955, allocations: 170.4 kB / 1.145 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6956, allocations: 341.9 kB / 1.145 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.6966, allocations: 365.8 kB / 1.145 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.6979, allocations: 0.6624 MB / 1.146 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.6997, allocations: 0.8906 MB / 1.147 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.6998, allocations: 4 kB / 1.147 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003018/0.7028, allocations: 1.201 MB / 1.148 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.7028, allocations: 8 kB / 1.148 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.7028, allocations: 8 kB / 1.148 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008592/0.7037, allocations: 224.6 kB / 1.148 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/0.7045, allocations: 195.7 kB / 1.149 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008633/0.7054, allocations: 0.7239 MB / 1.149 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.7069, allocations: 218.7 kB / 1.149 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.707, allocations: 43.98 kB / 1.15 GB, free: 9.305 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.000474/0.7075, allocations: 364.4 kB / 1.15 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/0.7078, allocations: 150.1 kB / 1.15 GB, free: 8.793 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.7101, allocations: 1.137 MB / 1.151 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.7102, allocations: 16 kB / 1.151 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7102, allocations: 0 / 1.151 GB, free: 7.613 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.7102, allocations: 4.078 kB / 1.151 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/0.7153, allocations: 2.514 MB / 1.154 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7153, allocations: 4.188 kB / 1.154 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.7157, allocations: 79.89 kB / 1.154 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007245/0.7164, allocations: 216.6 kB / 1.154 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.7165, allocations: 23.98 kB / 1.154 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.7177, allocations: 0.7706 MB / 1.155 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.7178, allocations: 4.031 kB / 1.155 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.7212, allocations: 1.203 MB / 1.156 GB, free: 2.652 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.7217, allocations: 350.9 kB / 1.156 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.7219, allocations: 15.98 kB / 1.156 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000942/0.7228, allocations: 71.92 kB / 1.156 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.901e-05/0.7229, allocations: 48.5 kB / 1.156 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.723, allocations: 23.98 kB / 1.156 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001635/0.7246, allocations: 1.09 MB / 1.157 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7247, allocations: 0 / 1.157 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001155/0.7258, allocations: 443.4 kB / 1.158 GB, free: 0.6094 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.004481/0.7303, allocations: 2.11 MB / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00233/0.7327, allocations: 0.8875 MB / 1.161 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7327, allocations: 96 / 1.161 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.734, allocations: 447.5 kB / 1.161 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/0.737, allocations: 0.7444 MB / 1.162 GB, free: 12.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.7542, allocations: 11.4 MB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/0.7549, allocations: 1.176 MB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001043/0.756, allocations: 264.1 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/0.7567, allocations: 0.5461 MB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.7567, allocations: 4 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07231/0.829, allocations: 43.43 MB / 1.217 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.11, allocations: 18.48 kB / 1.217 GB, free: 3.469 MB / 0.9669 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/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