Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001394/0.001394, allocations: 111.9 kB / 17.54 MB, free: 4.641 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.001434/0.001434, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.359/2.359, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.88 kB / 1.059 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2714, allocations: 160.8 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.566/0.8374, allocations: 71.68 MB / 1.286 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01984/0.8572, allocations: 19.08 MB / 1.304 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.8594, allocations: 67 kB / 1.304 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.8611, allocations: 0.8506 MB / 1.305 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006669/0.8677, allocations: 3.01 MB / 1.308 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.8716, allocations: 1.665 MB / 1.31 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005003/0.8766, allocations: 4.065 MB / 1.314 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.8784, allocations: 1.147 MB / 1.315 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004078/0.8825, allocations: 1.817 MB / 1.317 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.8849, allocations: 1.226 MB / 1.318 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.8854, allocations: 179.2 kB / 1.318 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003557/0.8889, allocations: 1.451 MB / 1.319 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004311/0.8894, allocations: 395.3 kB / 1.32 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.8907, allocations: 0.9172 MB / 1.321 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005403/0.8961, allocations: 3.115 MB / 1.324 GB, free: 14.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.8961, allocations: 0 / 1.324 GB, free: 14.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8961, allocations: 1.375 kB / 1.324 GB, free: 14.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.918e-05/0.8961, allocations: 3.938 kB / 1.324 GB, free: 14.26 MB / 1.014 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.004008/0.9002, allocations: 2.082 MB / 1.326 GB, free: 12.83 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9002, allocations: 14.25 kB / 1.326 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.9004, allocations: 154 kB / 1.326 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.9026, allocations: 457 kB / 1.326 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.9054, allocations: 1.567 MB / 1.328 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.9055, allocations: 78.56 kB / 1.328 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.9056, allocations: 106.3 kB / 1.328 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.9083, allocations: 1.315 MB / 1.329 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.9083, allocations: 5.844 kB / 1.329 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.9084, allocations: 45.94 kB / 1.329 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.9084, allocations: 27.7 kB / 1.329 GB, free: 10.83 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.9111, allocations: 1.096 MB / 1.33 GB, free: 10.43 MB / 1.014 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.009462/0.9206, allocations: 7.512 MB / 1.338 GB, free: 4.488 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002998/0.9236, allocations: 0.7676 MB / 1.338 GB, free: 4.246 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.9241, allocations: 265.6 kB / 1.339 GB, free: 4.148 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.9255, allocations: 1.724 MB / 1.34 GB, free: 2.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.9256, allocations: 42.88 kB / 1.34 GB, free: 2.102 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.9256, allocations: 0 / 1.34 GB, free: 2.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004711/0.9303, allocations: 1.342 MB / 1.342 GB, free: 1.594 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.9303, allocations: 57.64 kB / 1.342 GB, free: 1.531 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.9326, allocations: 1.551 MB / 1.343 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.883e-05/0.9327, allocations: 36.7 kB / 1.343 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/0.9333, allocations: 0.6821 MB / 1.344 GB, free: 324 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.9335, allocations: 181.2 kB / 1.344 GB, free: 180 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.9338, allocations: 171.2 kB / 1.344 GB, free: 92 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9339, allocations: 336.4 kB / 1.345 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009229/0.9348, allocations: 364.4 kB / 1.345 GB, free: 15.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.936, allocations: 0.6597 MB / 1.346 GB, free: 15.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.9378, allocations: 0.8908 MB / 1.347 GB, free: 14.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.9378, allocations: 6.594 kB / 1.347 GB, free: 14.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002885/0.9407, allocations: 1.195 MB / 1.348 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9407, allocations: 8 kB / 1.348 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.9407, allocations: 8.656 kB / 1.348 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008438/0.9415, allocations: 227 kB / 1.348 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.9422, allocations: 190.6 kB / 1.348 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008681/0.9431, allocations: 0.7251 MB / 1.349 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.9447, allocations: 215.8 kB / 1.349 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.9448, allocations: 42.52 kB / 1.349 GB, free: 13.32 MB / 1.029 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.0006191/0.9454, allocations: 361.7 kB / 1.349 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.9456, allocations: 153.6 kB / 1.35 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.9479, allocations: 1.14 MB / 1.351 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.9479, allocations: 9.75 kB / 1.351 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9479, allocations: 0 / 1.351 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.9479, allocations: 3.797 kB / 1.351 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.9531, allocations: 2.504 MB / 1.353 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.9532, allocations: 1.281 kB / 1.353 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.9535, allocations: 86.34 kB / 1.353 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007398/0.9542, allocations: 212.9 kB / 1.353 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.9543, allocations: 18.33 kB / 1.353 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.9556, allocations: 0.7738 MB / 1.354 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9556, allocations: 5.156 kB / 1.354 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.959, allocations: 1.202 MB / 1.355 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/0.9597, allocations: 371.3 kB / 1.356 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.9599, allocations: 12.19 kB / 1.356 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.9608, allocations: 78.91 kB / 1.356 GB, free: 8.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.9609, allocations: 34.92 kB / 1.356 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.9609, allocations: 29.05 kB / 1.356 GB, free: 8.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001836/0.9628, allocations: 1.088 MB / 1.357 GB, free: 8.273 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9628, allocations: 0 / 1.357 GB, free: 8.273 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001437/0.9642, allocations: 443.8 kB / 1.357 GB, free: 8.172 MB / 1.029 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.004587/0.9688, allocations: 2.139 MB / 1.359 GB, free: 6.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002267/0.9711, allocations: 0.828 MB / 1.36 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9711, allocations: 1.281 kB / 1.36 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.9723, allocations: 415.7 kB / 1.361 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.9757, allocations: 0.7437 MB / 1.361 GB, free: 5.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.9931, allocations: 10.5 MB / 1.372 GB, free: 15.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.9939, allocations: 1.165 MB / 1.373 GB, free: 14.43 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001019/0.9949, allocations: 270 kB / 1.373 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/0.9957, allocations: 0.5427 MB / 1.374 GB, free: 13.84 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.9957, allocations: 0 / 1.374 GB, free: 13.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08176/1.077, allocations: 43.98 MB / 1.417 GB, free: 5.535 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/14.03, allocations: 4 kB / 1.417 GB, free: 5.531 MB / 1.076 GB " [Timeout remaining time 286] (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a1.T from file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_a2.T in file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a2.T from file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b1.T in file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b1.T from file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b2.T in file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b2.T from file Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.373300330997154]