Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002058/0.002058, allocations: 113 kB / 18.94 MB, free: 2.934 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.002496/0.002496, allocations: 210.9 kB / 22.25 MB, free: 5.082 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.47/3.47, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_latest_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.002136/0.002136, allocations: 67.8 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4065, allocations: 180.2 MB / 1.353 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07822/0.4847, allocations: 72.11 MB / 1.423 GB, free: 192 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02632/0.511, allocations: 19.1 MB / 1.442 GB, free: 13.04 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.5149, allocations: 95.19 kB / 1.442 GB, free: 12.94 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.5178, allocations: 0.854 MB / 1.443 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009191/0.527, allocations: 3.045 MB / 1.446 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005033/0.532, allocations: 1.723 MB / 1.448 GB, free: 7.309 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007235/0.5393, allocations: 4.074 MB / 1.451 GB, free: 3.223 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.5419, allocations: 1.153 MB / 1.453 GB, free: 2.023 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005167/0.547, allocations: 1.987 MB / 1.455 GB, free: 32 kB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.5495, allocations: 1.21 MB / 1.456 GB, free: 14.82 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003624/0.5499, allocations: 176 kB / 1.456 GB, free: 14.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.5532, allocations: 1.49 MB / 1.457 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.5537, allocations: 398.5 kB / 1.458 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.5549, allocations: 0.9254 MB / 1.459 GB, free: 11.83 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005612/0.5605, allocations: 3.15 MB / 1.462 GB, free: 8.672 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5605, allocations: 4 kB / 1.462 GB, free: 8.668 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.534e-06/0.5605, allocations: 0 / 1.462 GB, free: 8.668 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.809e-05/0.5606, allocations: 0 / 1.462 GB, free: 8.668 MB / 1.154 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.003985/0.5646, allocations: 2.015 MB / 1.464 GB, free: 6.605 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.5646, allocations: 12.03 kB / 1.464 GB, free: 6.594 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.5648, allocations: 156.6 kB / 1.464 GB, free: 6.434 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.567, allocations: 458.5 kB / 1.464 GB, free: 5.984 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.5701, allocations: 1.519 MB / 1.466 GB, free: 4.418 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.5702, allocations: 82.03 kB / 1.466 GB, free: 4.336 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.5703, allocations: 104 kB / 1.466 GB, free: 4.234 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.5729, allocations: 1.313 MB / 1.467 GB, free: 2.812 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.573, allocations: 3.938 kB / 1.467 GB, free: 2.809 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.5731, allocations: 44 kB / 1.467 GB, free: 2.766 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.5731, allocations: 27.94 kB / 1.467 GB, free: 2.738 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.5758, allocations: 1.101 MB / 1.468 GB, free: 1.633 MB / 1.154 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.009795/0.5856, allocations: 7.393 MB / 1.476 GB, free: 9.746 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/0.5887, allocations: 0.7812 MB / 1.476 GB, free: 8.961 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.5893, allocations: 269.9 kB / 1.477 GB, free: 8.691 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.5899, allocations: 156.3 kB / 1.477 GB, free: 8.539 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.59, allocations: 39 kB / 1.477 GB, free: 8.492 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.59, allocations: 0 / 1.477 GB, free: 8.492 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.00472/0.5947, allocations: 1.268 MB / 1.478 GB, free: 7.215 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.5947, allocations: 59.84 kB / 1.478 GB, free: 7.145 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.5972, allocations: 1.554 MB / 1.48 GB, free: 5.582 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.5973, allocations: 37.7 kB / 1.48 GB, free: 5.539 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/0.598, allocations: 0.6857 MB / 1.48 GB, free: 4.848 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.5981, allocations: 178.5 kB / 1.48 GB, free: 4.672 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.5984, allocations: 174.5 kB / 1.481 GB, free: 4.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5986, allocations: 333.9 kB / 1.481 GB, free: 4.164 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009472/0.5995, allocations: 369.8 kB / 1.481 GB, free: 3.805 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.6008, allocations: 0.6582 MB / 1.482 GB, free: 3.02 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.6026, allocations: 0.8897 MB / 1.483 GB, free: 2.016 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.6026, allocations: 4 kB / 1.483 GB, free: 2.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003004/0.6056, allocations: 1.193 MB / 1.484 GB, free: 0.8125 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6056, allocations: 8 kB / 1.484 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.6057, allocations: 8 kB / 1.484 GB, free: 0.7969 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008915/0.6066, allocations: 224.6 kB / 1.484 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/0.6073, allocations: 195.7 kB / 1.484 GB, free: 392 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009191/0.6082, allocations: 0.7201 MB / 1.485 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.6097, allocations: 211.1 kB / 1.485 GB, free: 15.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.6098, allocations: 47.97 kB / 1.485 GB, free: 15.38 MB / 1.186 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.0006456/0.6105, allocations: 361.5 kB / 1.486 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.6107, allocations: 159 kB / 1.486 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.6133, allocations: 1.159 MB / 1.487 GB, free: 13.69 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.6133, allocations: 15.98 kB / 1.487 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6133, allocations: 0 / 1.487 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.6133, allocations: 4.078 kB / 1.487 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.6187, allocations: 2.499 MB / 1.489 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.6187, allocations: 4.031 kB / 1.489 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.6191, allocations: 83.88 kB / 1.49 GB, free: 11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000788/0.6199, allocations: 208.6 kB / 1.49 GB, free: 10.8 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.62, allocations: 23.98 kB / 1.49 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.6213, allocations: 0.7708 MB / 1.491 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6213, allocations: 0 / 1.491 GB, free: 9.977 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/0.6248, allocations: 1.223 MB / 1.492 GB, free: 8.715 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007428/0.6255, allocations: 282.6 kB / 1.492 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.6257, allocations: 12 kB / 1.492 GB, free: 8.426 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008778/0.6266, allocations: 75.91 kB / 1.492 GB, free: 8.352 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.6267, allocations: 48.36 kB / 1.492 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.027e-05/0.6268, allocations: 27.98 kB / 1.492 GB, free: 8.277 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001961/0.6287, allocations: 1.09 MB / 1.493 GB, free: 7.191 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6287, allocations: 0 / 1.493 GB, free: 7.191 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001321/0.63, allocations: 455 kB / 1.494 GB, free: 6.746 MB / 1.186 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.004541/0.6346, allocations: 2.107 MB / 1.496 GB, free: 4.594 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002294/0.6369, allocations: 0.8325 MB / 1.497 GB, free: 3.758 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6369, allocations: 0 / 1.497 GB, free: 3.758 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6381, allocations: 423.4 kB / 1.497 GB, free: 3.348 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003255/0.6414, allocations: 0.7491 MB / 1.498 GB, free: 2.613 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.6604, allocations: 10.54 MB / 1.508 GB, free: 7.688 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.6612, allocations: 1.172 MB / 1.509 GB, free: 6.488 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001076/0.6623, allocations: 268.2 kB / 1.509 GB, free: 6.223 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/0.6631, allocations: 0.5461 MB / 1.51 GB, free: 5.676 MB / 1.201 GB Notification: Performance of SimCode: time 1.172e-06/0.6631, allocations: 0 / 1.51 GB, free: 5.676 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09356/0.7567, allocations: 44.53 MB / 1.553 GB, free: 9.598 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.4, allocations: 3.984 kB / 1.553 GB, free: 9.594 MB / 1.248 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a1.T from file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_a2.T in file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_a2.T from file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b1.T in file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b1.T from file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! Error: Could not read variable chi_b.chi.sta_b2.T in file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv. Warning: Get data of variable chi_b.chi.sta_b2.T from file Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 23.73217753200015]