Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001734/0.001734, allocations: 110.4 kB / 16.46 MB, free: 6.508 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.002605/0.002605, allocations: 213.7 kB / 19.43 MB, free: 3.648 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: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.279/3.279, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_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.002132/0.002132, allocations: 66.05 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3819, allocations: 176.1 MB / 1.321 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09507/0.477, allocations: 71.41 MB / 1.391 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03301/0.51, allocations: 19.01 MB / 1.409 GB, free: 8.621 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.5134, allocations: 99.12 kB / 1.409 GB, free: 8.523 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002958/0.5163, allocations: 0.854 MB / 1.41 GB, free: 7.664 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.5273, allocations: 2.994 MB / 1.413 GB, free: 4.656 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005775/0.5331, allocations: 1.669 MB / 1.415 GB, free: 2.996 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007821/0.5409, allocations: 4.019 MB / 1.419 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.5441, allocations: 1.18 MB / 1.42 GB, free: 13.75 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006231/0.5503, allocations: 1.953 MB / 1.422 GB, free: 11.79 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003437/0.5538, allocations: 1.218 MB / 1.423 GB, free: 10.57 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007266/0.5545, allocations: 176 kB / 1.423 GB, free: 10.39 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.559, allocations: 1.462 MB / 1.424 GB, free: 8.93 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009315/0.56, allocations: 402.4 kB / 1.425 GB, free: 8.535 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.5624, allocations: 0.9254 MB / 1.426 GB, free: 7.605 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007581/0.57, allocations: 3.146 MB / 1.429 GB, free: 4.449 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.57, allocations: 3.984 kB / 1.429 GB, free: 4.445 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.385e-06/0.57, allocations: 0 / 1.429 GB, free: 4.445 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001036/0.5701, allocations: 0 / 1.429 GB, free: 4.445 MB / 1.123 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.005409/0.5755, allocations: 2.091 MB / 1.431 GB, free: 2.289 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5756, allocations: 11.98 kB / 1.431 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003006/0.5759, allocations: 160.5 kB / 1.431 GB, free: 2.113 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.5783, allocations: 459.1 kB / 1.431 GB, free: 1.664 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003594/0.5819, allocations: 1.572 MB / 1.433 GB, free: 36 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/0.582, allocations: 78.11 kB / 1.433 GB, free: 15.95 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.5821, allocations: 103.9 kB / 1.433 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.5852, allocations: 1.313 MB / 1.434 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.5853, allocations: 3.938 kB / 1.434 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.5854, allocations: 44 kB / 1.434 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.5854, allocations: 32 kB / 1.434 GB, free: 14.35 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.5886, allocations: 1.101 MB / 1.435 GB, free: 13.25 MB / 1.139 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.01164/0.6003, allocations: 7.518 MB / 1.443 GB, free: 5.219 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.6037, allocations: 0.7822 MB / 1.444 GB, free: 4.426 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/0.6043, allocations: 265.9 kB / 1.444 GB, free: 4.164 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.606, allocations: 1.718 MB / 1.446 GB, free: 2.059 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.606, allocations: 50.92 kB / 1.446 GB, free: 2 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.534e-06/0.606, allocations: 0 / 1.446 GB, free: 2 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005329/0.6113, allocations: 1.343 MB / 1.447 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.6114, allocations: 55.84 kB / 1.447 GB, free: 0.5625 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/0.6146, allocations: 1.55 MB / 1.448 GB, free: 15 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6148, allocations: 37.7 kB / 1.448 GB, free: 14.96 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.6155, allocations: 0.6858 MB / 1.449 GB, free: 14.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.6157, allocations: 178.5 kB / 1.449 GB, free: 14.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.6161, allocations: 174.5 kB / 1.45 GB, free: 13.92 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6163, allocations: 334 kB / 1.45 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.6174, allocations: 361.8 kB / 1.45 GB, free: 13.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.6188, allocations: 0.6698 MB / 1.451 GB, free: 12.43 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.6208, allocations: 0.8867 MB / 1.452 GB, free: 11.45 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.6208, allocations: 0 / 1.452 GB, free: 11.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003456/0.6243, allocations: 1.19 MB / 1.453 GB, free: 10.24 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.6243, allocations: 12 kB / 1.453 GB, free: 10.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.6243, allocations: 16.02 kB / 1.453 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/0.6253, allocations: 212.6 kB / 1.453 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.6261, allocations: 195.7 kB / 1.453 GB, free: 9.812 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.6272, allocations: 0.7201 MB / 1.454 GB, free: 9.066 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.629, allocations: 215 kB / 1.454 GB, free: 8.855 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.6291, allocations: 47.98 kB / 1.454 GB, free: 8.809 MB / 1.154 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.0007776/0.6299, allocations: 363.2 kB / 1.455 GB, free: 8.445 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/0.6304, allocations: 159 kB / 1.455 GB, free: 8.289 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002923/0.6333, allocations: 1.138 MB / 1.456 GB, free: 7.137 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.6333, allocations: 11.98 kB / 1.456 GB, free: 7.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.6333, allocations: 0 / 1.456 GB, free: 7.125 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6333, allocations: 3.984 kB / 1.456 GB, free: 7.121 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.6395, allocations: 2.514 MB / 1.458 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.6395, allocations: 0 / 1.458 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.6399, allocations: 83.89 kB / 1.458 GB, free: 4.445 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008533/0.6408, allocations: 220.8 kB / 1.459 GB, free: 4.227 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-05/0.6408, allocations: 23.92 kB / 1.459 GB, free: 4.203 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.6423, allocations: 0.7747 MB / 1.459 GB, free: 3.402 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6423, allocations: 4.031 kB / 1.459 GB, free: 3.398 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.6462, allocations: 1.204 MB / 1.461 GB, free: 2.152 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/0.647, allocations: 363.7 kB / 1.461 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/0.6475, allocations: 15.98 kB / 1.461 GB, free: 1.762 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/0.6487, allocations: 67.92 kB / 1.461 GB, free: 1.695 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.6488, allocations: 44.5 kB / 1.461 GB, free: 1.648 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.6489, allocations: 23.98 kB / 1.461 GB, free: 1.625 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002604/0.6515, allocations: 1.09 MB / 1.462 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.6515, allocations: 0 / 1.462 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001787/0.6533, allocations: 451.1 kB / 1.463 GB, free: 100 kB / 1.154 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.005348/0.6586, allocations: 2.115 MB / 1.465 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.6612, allocations: 0.8213 MB / 1.465 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6612, allocations: 320 / 1.465 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.6627, allocations: 419.3 kB / 1.466 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/0.6666, allocations: 0.7444 MB / 1.467 GB, free: 11.98 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/0.6896, allocations: 10.52 MB / 1.477 GB, free: 1.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.691, allocations: 1.176 MB / 1.478 GB, free: 15.87 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001407/0.6924, allocations: 272.1 kB / 1.478 GB, free: 15.6 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.6935, allocations: 0.5422 MB / 1.479 GB, free: 15.05 MB / 1.186 GB Notification: Performance of SimCode: time 1.232e-06/0.6935, allocations: 0 / 1.479 GB, free: 15.05 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.7976, allocations: 43.89 MB / 1.522 GB, free: 3.699 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.18, allocations: 7.922 kB / 1.522 GB, free: 3.691 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a1.T from file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_a2.T in file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a2.T from file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b1.T in file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b1.T from file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b2.T in file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b2.T from file Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.470618488965556]