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.00783/0.00783, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.00194/0.00194, allocations: 194.2 kB / 16.68 MB, free: 5.957 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.211/2.211, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6879/0.6892, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06944/0.7587, allocations: 70.48 MB / 1.156 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.7842, allocations: 18.93 MB / 1.175 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002678/0.7869, allocations: 67 kB / 1.175 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.7896, allocations: 0.8323 MB / 1.176 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008303/0.7979, allocations: 2.842 MB / 1.178 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004478/0.8024, allocations: 1.657 MB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006437/0.8088, allocations: 4.04 MB / 1.184 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.8113, allocations: 1.452 MB / 1.185 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.8158, allocations: 1.773 MB / 1.187 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.8182, allocations: 1.181 MB / 1.188 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004133/0.8187, allocations: 179.2 kB / 1.188 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.8225, allocations: 1.415 MB / 1.19 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005505/0.823, allocations: 387.2 kB / 1.19 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.8247, allocations: 0.9158 MB / 1.191 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.8297, allocations: 3.111 MB / 1.194 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8297, allocations: 0 / 1.194 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8298, allocations: 5.312 kB / 1.194 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.628e-05/0.8298, allocations: 0 / 1.194 GB, free: 8.578 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.004516/0.8344, allocations: 2.029 MB / 1.196 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8344, allocations: 9.031 kB / 1.196 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.8346, allocations: 155.2 kB / 1.196 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.837, allocations: 449.9 kB / 1.197 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.8399, allocations: 1.535 MB / 1.198 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.84, allocations: 82.84 kB / 1.198 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.8401, allocations: 105.6 kB / 1.198 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.8427, allocations: 1.314 MB / 1.2 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.8428, allocations: 2.5 kB / 1.2 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.8429, allocations: 46.66 kB / 1.2 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/0.8429, allocations: 29.97 kB / 1.2 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/0.8458, allocations: 1.107 MB / 1.201 GB, free: 3.855 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.009035/0.8548, allocations: 7.503 MB / 1.208 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.8582, allocations: 0.812 MB / 1.209 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.8588, allocations: 283.9 kB / 1.209 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.8601, allocations: 1.722 MB / 1.211 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.8602, allocations: 42.12 kB / 1.211 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=48): time 2.565e-06/0.8602, allocations: 0 / 1.211 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.005115/0.8653, allocations: 1.329 MB / 1.212 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.8653, allocations: 64.5 kB / 1.212 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.868, allocations: 1.541 MB / 1.214 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.868, allocations: 38.02 kB / 1.214 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006033/0.8687, allocations: 0.6762 MB / 1.215 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.8688, allocations: 171.5 kB / 1.215 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003092/0.8691, allocations: 173.8 kB / 1.215 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.8693, allocations: 340.7 kB / 1.215 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.8703, allocations: 362.9 kB / 1.216 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.8716, allocations: 0.6595 MB / 1.216 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.8736, allocations: 0.8871 MB / 1.217 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-06/0.8736, allocations: 6.312 kB / 1.217 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003088/0.8767, allocations: 1.185 MB / 1.218 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.8767, allocations: 7.562 kB / 1.218 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.8767, allocations: 8.156 kB / 1.218 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008799/0.8776, allocations: 226.7 kB / 1.218 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/0.8784, allocations: 194.5 kB / 1.219 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009176/0.8793, allocations: 0.7144 MB / 1.219 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.881, allocations: 214.8 kB / 1.22 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.8811, allocations: 44.52 kB / 1.22 GB, free: 4.484 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.0005462/0.8816, allocations: 362.6 kB / 1.22 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.882, allocations: 149.9 kB / 1.22 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.8845, allocations: 1.144 MB / 1.221 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/0.8846, allocations: 6.25 kB / 1.221 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8846, allocations: 0 / 1.221 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.8846, allocations: 9.297 kB / 1.221 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005497/0.8901, allocations: 2.505 MB / 1.224 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.8901, allocations: 0 / 1.224 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.8905, allocations: 92.06 kB / 1.224 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007545/0.8913, allocations: 208.6 kB / 1.224 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.8913, allocations: 16 kB / 1.224 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.8927, allocations: 0.7786 MB / 1.225 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.8927, allocations: 7.969 kB / 1.225 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003496/0.8962, allocations: 1.199 MB / 1.226 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.8969, allocations: 350.9 kB / 1.226 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.8971, allocations: 12 kB / 1.226 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.8981, allocations: 79.91 kB / 1.226 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.8982, allocations: 36.52 kB / 1.226 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.8983, allocations: 23.98 kB / 1.226 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001768/0.9001, allocations: 1.086 MB / 1.227 GB, free: 13 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9001, allocations: 0 / 1.227 GB, free: 13 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001435/0.9015, allocations: 451.3 kB / 1.228 GB, free: 12.56 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.004577/0.9061, allocations: 2.121 MB / 1.23 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002166/0.9083, allocations: 0.8447 MB / 1.231 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9083, allocations: 0 / 1.231 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.9097, allocations: 443.6 kB / 1.231 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/0.9127, allocations: 0.7451 MB / 1.232 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/0.9307, allocations: 10.43 MB / 1.242 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008619/0.9315, allocations: 1.18 MB / 1.243 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9326, allocations: 263.9 kB / 1.243 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007417/0.9333, allocations: 0.55 MB / 1.244 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/0.9333, allocations: 0 / 1.244 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06971/1.003, allocations: 43.73 MB / 1.287 GB, free: 396 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.63, allocations: 7.906 kB / 1.287 GB, free: 388 kB / 1.014 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