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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 71.88 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7967/0.7986, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07368/0.8723, allocations: 71.7 MB / 1.341 GB, free: 4.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02706/0.8993, allocations: 19.09 MB / 1.36 GB, free: 7.059 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.9021, allocations: 67.75 kB / 1.36 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.9048, allocations: 0.8539 MB / 1.361 GB, free: 6.484 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.9131, allocations: 3.005 MB / 1.364 GB, free: 4.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.9174, allocations: 1.671 MB / 1.365 GB, free: 3.727 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006009/0.9235, allocations: 4.061 MB / 1.369 GB, free: 1.656 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.9256, allocations: 1.158 MB / 1.371 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00439/0.93, allocations: 1.815 MB / 1.372 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.9325, allocations: 1.232 MB / 1.374 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005241/0.933, allocations: 175.8 kB / 1.374 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.9365, allocations: 1.451 MB / 1.375 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005894/0.9371, allocations: 399.5 kB / 1.376 GB, free: 14.08 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.9389, allocations: 0.9196 MB / 1.376 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005349/0.9442, allocations: 3.115 MB / 1.379 GB, free: 11.27 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9442, allocations: 3.984 kB / 1.379 GB, free: 11.27 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9442, allocations: 0 / 1.379 GB, free: 11.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.244e-05/0.9443, allocations: 3.938 kB / 1.379 GB, free: 11.26 MB / 1.076 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.004358/0.9487, allocations: 2.071 MB / 1.382 GB, free: 9.664 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.9487, allocations: 12.94 kB / 1.382 GB, free: 9.66 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000236/0.9489, allocations: 158.8 kB / 1.382 GB, free: 9.531 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.9512, allocations: 452.6 kB / 1.382 GB, free: 9.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.954, allocations: 1.563 MB / 1.384 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.273e-05/0.9541, allocations: 81.81 kB / 1.384 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.9542, allocations: 103 kB / 1.384 GB, free: 7.98 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.9567, allocations: 1.314 MB / 1.385 GB, free: 7.066 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.9567, allocations: 2.438 kB / 1.385 GB, free: 7.066 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.9568, allocations: 46.22 kB / 1.385 GB, free: 7.031 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.9568, allocations: 26.16 kB / 1.385 GB, free: 7.031 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.9594, allocations: 1.107 MB / 1.386 GB, free: 6.465 MB / 1.076 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.008633/0.9681, allocations: 7.52 MB / 1.394 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002997/0.971, allocations: 0.7681 MB / 1.394 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.9716, allocations: 268.4 kB / 1.395 GB, free: 15.01 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/0.973, allocations: 1.723 MB / 1.396 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.973, allocations: 41.31 kB / 1.396 GB, free: 12.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 1.934e-06/0.973, allocations: 7.938 kB / 1.396 GB, free: 12.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.004539/0.9776, allocations: 1.332 MB / 1.398 GB, free: 12.18 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9776, allocations: 60.67 kB / 1.398 GB, free: 12.12 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.9799, allocations: 1.545 MB / 1.399 GB, free: 11.27 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.98, allocations: 38.08 kB / 1.399 GB, free: 11.23 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005993/0.9806, allocations: 0.6784 MB / 1.4 GB, free: 10.63 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.9807, allocations: 179.8 kB / 1.4 GB, free: 10.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.981, allocations: 174.4 kB / 1.4 GB, free: 10.37 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.9812, allocations: 340.1 kB / 1.401 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009445/0.9821, allocations: 363 kB / 1.401 GB, free: 9.859 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.9833, allocations: 0.6555 MB / 1.402 GB, free: 9.297 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.9851, allocations: 0.8869 MB / 1.402 GB, free: 8.641 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.9851, allocations: 6.812 kB / 1.402 GB, free: 8.637 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002855/0.9879, allocations: 1.195 MB / 1.404 GB, free: 8.016 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.988, allocations: 8.188 kB / 1.404 GB, free: 8.016 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.988, allocations: 8.125 kB / 1.404 GB, free: 8.016 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008335/0.9888, allocations: 227.2 kB / 1.404 GB, free: 7.898 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.9895, allocations: 193.2 kB / 1.404 GB, free: 7.844 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008613/0.9904, allocations: 0.7186 MB / 1.405 GB, free: 7.211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.9919, allocations: 216.8 kB / 1.405 GB, free: 7.09 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.992, allocations: 46.7 kB / 1.405 GB, free: 7.074 MB / 1.092 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.000528/0.9925, allocations: 359.6 kB / 1.405 GB, free: 6.805 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/0.9928, allocations: 154.8 kB / 1.405 GB, free: 6.723 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.9951, allocations: 1.141 MB / 1.407 GB, free: 6.059 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.9951, allocations: 11.03 kB / 1.407 GB, free: 6.055 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9951, allocations: 0 / 1.407 GB, free: 6.055 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.9952, allocations: 3.984 kB / 1.407 GB, free: 6.051 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/1, allocations: 2.505 MB / 1.409 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1, allocations: 1.906 kB / 1.409 GB, free: 4.289 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/1.001, allocations: 86.09 kB / 1.409 GB, free: 4.266 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006982/1.001, allocations: 210.2 kB / 1.409 GB, free: 4.156 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/1.001, allocations: 18.83 kB / 1.409 GB, free: 4.145 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/1.003, allocations: 0.769 MB / 1.41 GB, free: 3.488 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.003, allocations: 6.125 kB / 1.41 GB, free: 3.484 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/1.006, allocations: 1.208 MB / 1.411 GB, free: 2.75 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/1.006, allocations: 366.7 kB / 1.412 GB, free: 2.426 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/1.007, allocations: 16.88 kB / 1.412 GB, free: 2.414 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008639/1.008, allocations: 66.73 kB / 1.412 GB, free: 2.387 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/1.008, allocations: 42.44 kB / 1.412 GB, free: 2.363 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/1.008, allocations: 33.61 kB / 1.412 GB, free: 2.348 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001656/1.009, allocations: 1.083 MB / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.009, allocations: 0 / 1.413 GB, free: 1.758 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001314/1.011, allocations: 452.2 kB / 1.413 GB, free: 1.648 MB / 1.092 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.004534/1.015, allocations: 2.131 MB / 1.415 GB, free: 15.8 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.017, allocations: 0.8214 MB / 1.416 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.017, allocations: 0 / 1.416 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/1.019, allocations: 415.5 kB / 1.417 GB, free: 14.57 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00329/1.022, allocations: 0.743 MB / 1.417 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.041, allocations: 10.51 MB / 1.428 GB, free: 2.965 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/1.041, allocations: 1.168 MB / 1.429 GB, free: 1.766 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001061/1.043, allocations: 268.1 kB / 1.429 GB, free: 1.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/1.043, allocations: 0.5461 MB / 1.429 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of SimCode: time 9.72e-07/1.043, allocations: 0 / 1.429 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08194/1.125, allocations: 43.97 MB / 1.472 GB, free: 5.508 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.88, allocations: 5.688 kB / 1.472 GB, free: 5.504 MB / 1.154 GB " [Timeout remaining time 286] (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: 19.403251636002096]