Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7672 GB, free: 5.207 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 76.19 kB / 1.112 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9743/0.9763, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08449/1.061, allocations: 71.31 MB / 1.348 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02898/1.09, allocations: 19.01 MB / 1.366 GB, free: 2.773 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/1.093, allocations: 95.19 kB / 1.367 GB, free: 2.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002887/1.096, allocations: 0.8618 MB / 1.367 GB, free: 1.812 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009764/1.105, allocations: 3.01 MB / 1.37 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006002/1.111, allocations: 1.658 MB / 1.372 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008628/1.12, allocations: 4.039 MB / 1.376 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/1.123, allocations: 1.192 MB / 1.377 GB, free: 7.867 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/1.128, allocations: 1.822 MB / 1.379 GB, free: 6.043 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/1.132, allocations: 1.241 MB / 1.38 GB, free: 4.797 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005029/1.132, allocations: 172 kB / 1.38 GB, free: 4.629 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/1.136, allocations: 1.474 MB / 1.382 GB, free: 3.152 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/1.137, allocations: 402.4 kB / 1.382 GB, free: 2.758 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001649/1.139, allocations: 0.9138 MB / 1.383 GB, free: 1.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006956/1.146, allocations: 3.146 MB / 1.386 GB, free: 14.68 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.146, allocations: 0 / 1.386 GB, free: 14.68 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.423e-06/1.146, allocations: 4 kB / 1.386 GB, free: 14.68 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.355e-05/1.146, allocations: 3.938 kB / 1.386 GB, free: 14.68 MB / 1.092 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.004647/1.15, allocations: 2.087 MB / 1.388 GB, free: 12.52 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.15, allocations: 12.03 kB / 1.388 GB, free: 12.51 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/1.15, allocations: 156.5 kB / 1.388 GB, free: 12.35 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/1.153, allocations: 455.2 kB / 1.389 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/1.156, allocations: 1.552 MB / 1.39 GB, free: 10.3 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.816e-05/1.156, allocations: 82.03 kB / 1.39 GB, free: 10.21 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/1.157, allocations: 111.9 kB / 1.39 GB, free: 10.11 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/1.159, allocations: 1.313 MB / 1.392 GB, free: 8.684 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/1.159, allocations: 11.92 kB / 1.392 GB, free: 8.672 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.16, allocations: 44 kB / 1.392 GB, free: 8.629 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/1.16, allocations: 24 kB / 1.392 GB, free: 8.605 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/1.163, allocations: 1.101 MB / 1.393 GB, free: 7.504 MB / 1.092 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.01098/1.174, allocations: 7.518 MB / 1.4 GB, free: 15.47 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/1.177, allocations: 0.7667 MB / 1.401 GB, free: 14.7 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/1.178, allocations: 270 kB / 1.401 GB, free: 14.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/1.18, allocations: 1.718 MB / 1.403 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/1.18, allocations: 46.94 kB / 1.403 GB, free: 12.27 MB / 1.107 GB Notification: Performance of pre-optimization done (n=48): time 2.925e-06/1.18, allocations: 0 / 1.403 GB, free: 12.27 MB / 1.107 GB Notification: Performance of matching and sorting (n=48): time 0.005386/1.185, allocations: 1.339 MB / 1.404 GB, free: 10.9 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.185, allocations: 55.84 kB / 1.404 GB, free: 10.83 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/1.189, allocations: 1.546 MB / 1.406 GB, free: 9.277 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.189, allocations: 37.7 kB / 1.406 GB, free: 9.234 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/1.189, allocations: 0.6857 MB / 1.406 GB, free: 8.543 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/1.19, allocations: 178.5 kB / 1.407 GB, free: 8.367 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003829/1.19, allocations: 170.5 kB / 1.407 GB, free: 8.195 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.19, allocations: 338 kB / 1.407 GB, free: 7.859 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/1.191, allocations: 361.8 kB / 1.407 GB, free: 7.504 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/1.193, allocations: 0.6624 MB / 1.408 GB, free: 6.715 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/1.195, allocations: 0.8906 MB / 1.409 GB, free: 5.719 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.195, allocations: 0 / 1.409 GB, free: 5.719 MB / 1.107 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003637/1.199, allocations: 1.19 MB / 1.41 GB, free: 4.52 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.199, allocations: 8 kB / 1.41 GB, free: 4.512 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.199, allocations: 8 kB / 1.41 GB, free: 4.504 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009798/1.2, allocations: 224.6 kB / 1.41 GB, free: 4.281 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/1.2, allocations: 199.7 kB / 1.411 GB, free: 4.086 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/1.202, allocations: 0.724 MB / 1.411 GB, free: 3.336 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.204, allocations: 211 kB / 1.411 GB, free: 3.129 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.204, allocations: 43.98 kB / 1.411 GB, free: 3.086 MB / 1.107 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.0007614/1.204, allocations: 361.6 kB / 1.412 GB, free: 2.723 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004583/1.205, allocations: 155 kB / 1.412 GB, free: 2.57 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/1.208, allocations: 1.14 MB / 1.413 GB, free: 1.422 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.208, allocations: 7.984 kB / 1.413 GB, free: 1.414 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.208, allocations: 0 / 1.413 GB, free: 1.414 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.208, allocations: 7.984 kB / 1.413 GB, free: 1.406 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/1.215, allocations: 2.51 MB / 1.416 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.215, allocations: 4 kB / 1.416 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/1.215, allocations: 79.89 kB / 1.416 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008868/1.216, allocations: 220.7 kB / 1.416 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/1.216, allocations: 15.98 kB / 1.416 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/1.218, allocations: 0.7708 MB / 1.417 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.218, allocations: 0 / 1.417 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004032/1.222, allocations: 1.204 MB / 1.418 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008775/1.223, allocations: 367.7 kB / 1.418 GB, free: 12.08 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/1.223, allocations: 19.95 kB / 1.418 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.224, allocations: 76.09 kB / 1.418 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/1.224, allocations: 40.5 kB / 1.418 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/1.224, allocations: 27.92 kB / 1.418 GB, free: 11.92 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002566/1.227, allocations: 1.082 MB / 1.419 GB, free: 10.84 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.21e-07/1.227, allocations: 0 / 1.419 GB, free: 10.84 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001903/1.229, allocations: 455 kB / 1.42 GB, free: 10.39 MB / 1.123 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.005509/1.234, allocations: 2.104 MB / 1.422 GB, free: 8.238 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002613/1.237, allocations: 0.8284 MB / 1.423 GB, free: 7.414 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.237, allocations: 1 kB / 1.423 GB, free: 7.414 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.238, allocations: 419.3 kB / 1.423 GB, free: 7.004 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/1.242, allocations: 0.7433 MB / 1.424 GB, free: 6.273 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/1.265, allocations: 10.49 MB / 1.434 GB, free: 11.4 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.266, allocations: 1.176 MB / 1.435 GB, free: 10.2 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001211/1.267, allocations: 268.1 kB / 1.435 GB, free: 9.934 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009379/1.268, allocations: 0.55 MB / 1.436 GB, free: 9.383 MB / 1.139 GB Notification: Performance of SimCode: time 1.543e-06/1.268, allocations: 0 / 1.436 GB, free: 9.383 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.379, allocations: 43.85 MB / 1.479 GB, free: 14.09 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/16.31, allocations: 11.91 kB / 1.479 GB, free: 14.07 MB / 1.186 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable chi_b.chi.sta_a1.T in file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a1.T from file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_a2.T in file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a2.T from file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b1.T in file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b1.T from file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b2.T in file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b2.T from file Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.739423244958743]