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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001445/0.001445, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8 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.286/3.286, allocations: 0.49 GB / 0.7951 GB, free: 33.63 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.003197/0.003197, allocations: 70.72 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3781, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08389/0.4619, allocations: 72.1 MB / 1.396 GB, free: 9.605 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.489, allocations: 19.11 MB / 1.415 GB, free: 6.438 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.4916, allocations: 95.19 kB / 1.415 GB, free: 6.344 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/0.4945, allocations: 0.858 MB / 1.416 GB, free: 5.48 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008895/0.5034, allocations: 3.057 MB / 1.419 GB, free: 2.41 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.5083, allocations: 1.715 MB / 1.421 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00711/0.5154, allocations: 4.071 MB / 1.425 GB, free: 12.62 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.5178, allocations: 1.165 MB / 1.426 GB, free: 11.42 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.5232, allocations: 1.982 MB / 1.428 GB, free: 9.434 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.526, allocations: 1.206 MB / 1.429 GB, free: 8.223 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004818/0.5265, allocations: 176 kB / 1.429 GB, free: 8.051 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.5304, allocations: 1.494 MB / 1.43 GB, free: 6.555 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000543/0.531, allocations: 398.5 kB / 1.431 GB, free: 6.164 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.5324, allocations: 0.9254 MB / 1.432 GB, free: 5.234 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005991/0.5384, allocations: 3.15 MB / 1.435 GB, free: 2.074 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5384, allocations: 0 / 1.435 GB, free: 2.074 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5384, allocations: 0 / 1.435 GB, free: 2.074 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.261e-05/0.5385, allocations: 0 / 1.435 GB, free: 2.074 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.004444/0.543, allocations: 2.027 MB / 1.437 GB, free: 0 / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.212e-05/0.543, allocations: 12.08 kB / 1.437 GB, free: 15.98 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.5432, allocations: 152.5 kB / 1.437 GB, free: 15.83 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.5457, allocations: 463.1 kB / 1.437 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/0.5491, allocations: 1.508 MB / 1.439 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.5492, allocations: 78.03 kB / 1.439 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.5493, allocations: 104 kB / 1.439 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/0.5521, allocations: 1.322 MB / 1.44 GB, free: 12.21 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/0.5521, allocations: 11.94 kB / 1.44 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.5523, allocations: 44 kB / 1.44 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.5523, allocations: 24 kB / 1.44 GB, free: 12.13 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.5551, allocations: 1.104 MB / 1.441 GB, free: 11.02 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.01016/0.5652, allocations: 7.377 MB / 1.449 GB, free: 3.156 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.5685, allocations: 0.7783 MB / 1.449 GB, free: 2.367 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006574/0.5691, allocations: 258 kB / 1.45 GB, free: 2.109 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.5697, allocations: 164.3 kB / 1.45 GB, free: 1.949 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.5698, allocations: 46.92 kB / 1.45 GB, free: 1.895 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.5698, allocations: 0 / 1.45 GB, free: 1.895 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005/0.5748, allocations: 1.26 MB / 1.451 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.5748, allocations: 55.84 kB / 1.451 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.5775, allocations: 1.55 MB / 1.453 GB, free: 15 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.5777, allocations: 37.7 kB / 1.453 GB, free: 14.95 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/0.5783, allocations: 0.6818 MB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.5786, allocations: 186.5 kB / 1.454 GB, free: 14.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.5789, allocations: 182.5 kB / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002344/0.5791, allocations: 330 kB / 1.454 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5801, allocations: 365.8 kB / 1.454 GB, free: 13.21 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.5815, allocations: 0.6658 MB / 1.455 GB, free: 12.42 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.5834, allocations: 0.8857 MB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.5834, allocations: 4 kB / 1.456 GB, free: 11.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003248/0.5866, allocations: 1.197 MB / 1.457 GB, free: 10.22 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.5867, allocations: 9.719 kB / 1.457 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5867, allocations: 11.98 kB / 1.457 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009689/0.5877, allocations: 220.6 kB / 1.457 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.5885, allocations: 195.7 kB / 1.457 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009709/0.5895, allocations: 0.7201 MB / 1.458 GB, free: 9.043 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.5913, allocations: 215.1 kB / 1.458 GB, free: 8.832 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.5914, allocations: 43.97 kB / 1.458 GB, free: 8.789 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.0007808/0.5922, allocations: 357.6 kB / 1.459 GB, free: 8.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003472/0.5925, allocations: 155 kB / 1.459 GB, free: 8.277 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.5952, allocations: 1.16 MB / 1.46 GB, free: 7.102 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.5952, allocations: 11.98 kB / 1.46 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/0.5952, allocations: 0 / 1.46 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.5952, allocations: 0 / 1.46 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005796/0.601, allocations: 2.514 MB / 1.463 GB, free: 4.5 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.601, allocations: 0 / 1.463 GB, free: 4.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.6014, allocations: 91.81 kB / 1.463 GB, free: 4.41 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008232/0.6022, allocations: 212.8 kB / 1.463 GB, free: 4.199 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/0.6023, allocations: 19.98 kB / 1.463 GB, free: 4.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.6037, allocations: 0.7747 MB / 1.464 GB, free: 3.379 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6037, allocations: 0 / 1.464 GB, free: 3.379 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003735/0.6074, allocations: 1.219 MB / 1.465 GB, free: 2.121 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009607/0.6084, allocations: 286.6 kB / 1.465 GB, free: 1.84 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002437/0.6086, allocations: 8 kB / 1.465 GB, free: 1.832 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.6096, allocations: 83.91 kB / 1.465 GB, free: 1.75 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.6097, allocations: 44.55 kB / 1.465 GB, free: 1.707 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.6097, allocations: 23.98 kB / 1.465 GB, free: 1.684 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002007/0.6117, allocations: 1.094 MB / 1.466 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6117, allocations: 0 / 1.466 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001666/0.6134, allocations: 455.1 kB / 1.467 GB, free: 152 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.004895/0.6183, allocations: 2.119 MB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002474/0.6208, allocations: 0.8288 MB / 1.47 GB, free: 13.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.6208, allocations: 4.062 kB / 1.47 GB, free: 13.15 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.6221, allocations: 423 kB / 1.47 GB, free: 12.74 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/0.6258, allocations: 0.743 MB / 1.471 GB, free: 12.01 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/0.6461, allocations: 10.54 MB / 1.481 GB, free: 1.086 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/0.647, allocations: 1.172 MB / 1.482 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001161/0.6482, allocations: 265.6 kB / 1.482 GB, free: 15.62 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/0.6491, allocations: 0.5461 MB / 1.483 GB, free: 15.08 MB / 1.186 GB Notification: Performance of SimCode: time 1.202e-06/0.6491, allocations: 3.938 kB / 1.483 GB, free: 15.07 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/0.7514, allocations: 44.54 MB / 1.526 GB, free: 3.074 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.59, allocations: 10.28 kB / 1.526 GB, free: 3.066 MB / 1.217 GB " [Timeout remaining time 283] (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.653236424999704]