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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_9_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.004163/0.004163, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001063/0.001063, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.16/2.16, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.683, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06764/0.7507, allocations: 70.49 MB / 1.156 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.775, allocations: 18.93 MB / 1.175 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.7774, allocations: 67.06 kB / 1.175 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.7796, allocations: 0.8423 MB / 1.176 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.7869, allocations: 3.001 MB / 1.179 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.7908, allocations: 1.658 MB / 1.18 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005116/0.7959, allocations: 4.059 MB / 1.184 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.7979, allocations: 1.457 MB / 1.186 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.8019, allocations: 1.808 MB / 1.187 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.8041, allocations: 1.178 MB / 1.189 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.8045, allocations: 175.3 kB / 1.189 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.8076, allocations: 1.419 MB / 1.19 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004607/0.8081, allocations: 390.9 kB / 1.19 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.8097, allocations: 0.9173 MB / 1.191 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.8139, allocations: 3.111 MB / 1.194 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.8139, allocations: 1.062 kB / 1.194 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8139, allocations: 0 / 1.194 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.34e-05/0.814, allocations: 0 / 1.194 GB, free: 8.5 MB / 0.9356 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.004003/0.818, allocations: 2.09 MB / 1.196 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.8181, allocations: 9.531 kB / 1.196 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.8182, allocations: 162.5 kB / 1.197 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.8206, allocations: 455.6 kB / 1.197 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.8232, allocations: 1.56 MB / 1.199 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.8233, allocations: 82.69 kB / 1.199 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.8235, allocations: 101.2 kB / 1.199 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.826, allocations: 1.312 MB / 1.2 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.826, allocations: 5.062 kB / 1.2 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.8261, allocations: 47.16 kB / 1.2 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.8262, allocations: 30.59 kB / 1.2 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.8289, allocations: 1.099 MB / 1.201 GB, free: 3.691 MB / 0.9356 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.007985/0.8369, allocations: 7.515 MB / 1.208 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.8403, allocations: 0.8205 MB / 1.209 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.8409, allocations: 283.3 kB / 1.21 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.8421, allocations: 1.719 MB / 1.211 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.8421, allocations: 37.53 kB / 1.211 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 1.703e-06/0.8421, allocations: 1.406 kB / 1.211 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004858/0.847, allocations: 1.341 MB / 1.213 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.847, allocations: 56.62 kB / 1.213 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.8492, allocations: 1.549 MB / 1.214 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.8493, allocations: 37.92 kB / 1.214 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.8499, allocations: 0.6779 MB / 1.215 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.85, allocations: 180.7 kB / 1.215 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.8503, allocations: 176.3 kB / 1.215 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8504, allocations: 341 kB / 1.216 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.8515, allocations: 364 kB / 1.216 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.8528, allocations: 0.6595 MB / 1.217 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.8547, allocations: 0.8864 MB / 1.217 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8547, allocations: 2.75 kB / 1.217 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002984/0.8577, allocations: 1.197 MB / 1.219 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8577, allocations: 10.44 kB / 1.219 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.8578, allocations: 8.25 kB / 1.219 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008484/0.8586, allocations: 222.6 kB / 1.219 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000801/0.8594, allocations: 202.3 kB / 1.219 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/0.8603, allocations: 0.7182 MB / 1.22 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.8618, allocations: 224 kB / 1.22 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.8619, allocations: 42.98 kB / 1.22 GB, free: 4.258 MB / 0.9512 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.0004729/0.8624, allocations: 363.6 kB / 1.22 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.8626, allocations: 157.5 kB / 1.22 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.8651, allocations: 1.133 MB / 1.222 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.8652, allocations: 12 kB / 1.222 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8652, allocations: 0 / 1.222 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8652, allocations: 3.984 kB / 1.222 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.8704, allocations: 2.51 MB / 1.224 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8704, allocations: 4 kB / 1.224 GB, free: 0.6055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.8708, allocations: 79.88 kB / 1.224 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007296/0.8715, allocations: 220.8 kB / 1.224 GB, free: 316 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.8716, allocations: 16 kB / 1.224 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.8729, allocations: 0.7747 MB / 1.225 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.8729, allocations: 4.031 kB / 1.225 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/0.8764, allocations: 1.219 MB / 1.226 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.8769, allocations: 355.8 kB / 1.227 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.8771, allocations: 12 kB / 1.227 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009671/0.8781, allocations: 75.91 kB / 1.227 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.8782, allocations: 40.45 kB / 1.227 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.8782, allocations: 27.98 kB / 1.227 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001677/0.8799, allocations: 1.09 MB / 1.228 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8799, allocations: 0 / 1.228 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00123/0.8812, allocations: 451 kB / 1.228 GB, free: 12.18 MB / 0.9669 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.004597/0.8858, allocations: 2.123 MB / 1.23 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00216/0.8879, allocations: 0.8486 MB / 1.231 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.888, allocations: 0 / 1.231 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/0.8893, allocations: 435.6 kB / 1.232 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.8924, allocations: 0.7447 MB / 1.232 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.9095, allocations: 10.48 MB / 1.243 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/0.9102, allocations: 1.176 MB / 1.244 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.9111, allocations: 261.5 kB / 1.244 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000712/0.9118, allocations: 0.55 MB / 1.244 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.9118, allocations: 0 / 1.244 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06888/0.9807, allocations: 43.73 MB / 1.287 GB, free: 15.96 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.7, allocations: 18.14 kB / 1.287 GB, free: 15.95 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/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