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.00171/0.00171, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.002089/0.002089, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.654/1.654, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.483/3.483, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.002068/0.002068, allocations: 76.48 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3917, allocations: 180.2 MB / 1.348 GB, free: 9.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08232/0.4741, allocations: 71.41 MB / 1.417 GB, free: 2.32 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.5017, allocations: 19 MB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002784/0.5044, allocations: 95.19 kB / 1.436 GB, free: 15.17 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.5069, allocations: 0.8579 MB / 1.437 GB, free: 14.3 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008631/0.5155, allocations: 2.99 MB / 1.44 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.5201, allocations: 1.657 MB / 1.442 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.006369/0.5265, allocations: 4.026 MB / 1.445 GB, free: 5.617 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.5285, allocations: 1.176 MB / 1.447 GB, free: 4.402 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.5335, allocations: 1.956 MB / 1.449 GB, free: 2.441 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.5357, allocations: 1.206 MB / 1.45 GB, free: 1.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002935/0.536, allocations: 176 kB / 1.45 GB, free: 1.059 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.5394, allocations: 1.462 MB / 1.451 GB, free: 15.59 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.5398, allocations: 402.4 kB / 1.452 GB, free: 15.2 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.5411, allocations: 0.9253 MB / 1.453 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005091/0.5462, allocations: 3.154 MB / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5462, allocations: 0 / 1.456 GB, free: 11.11 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5462, allocations: 4 kB / 1.456 GB, free: 11.1 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.532e-05/0.5462, allocations: 0 / 1.456 GB, free: 11.1 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.004251/0.5505, allocations: 2.087 MB / 1.458 GB, free: 8.949 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5505, allocations: 11.98 kB / 1.458 GB, free: 8.938 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002158/0.5507, allocations: 156.6 kB / 1.458 GB, free: 8.777 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.5532, allocations: 458.5 kB / 1.458 GB, free: 8.328 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/0.5563, allocations: 1.58 MB / 1.46 GB, free: 6.691 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.5564, allocations: 78.03 kB / 1.46 GB, free: 6.613 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.5566, allocations: 108 kB / 1.46 GB, free: 6.508 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.5594, allocations: 1.317 MB / 1.461 GB, free: 5.082 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.5595, allocations: 7.922 kB / 1.461 GB, free: 5.074 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5596, allocations: 44 kB / 1.461 GB, free: 5.031 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.5596, allocations: 27.94 kB / 1.461 GB, free: 5.004 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.5627, allocations: 1.097 MB / 1.462 GB, free: 3.902 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.01103/0.5737, allocations: 7.518 MB / 1.47 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.5772, allocations: 0.7705 MB / 1.471 GB, free: 11.09 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.5779, allocations: 266 kB / 1.471 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/0.5794, allocations: 1.722 MB / 1.472 GB, free: 8.719 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.5795, allocations: 43 kB / 1.473 GB, free: 8.668 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.756e-06/0.5795, allocations: 0 / 1.473 GB, free: 8.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.005469/0.5849, allocations: 1.339 MB / 1.474 GB, free: 7.301 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.585, allocations: 59.83 kB / 1.474 GB, free: 7.23 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.588, allocations: 1.554 MB / 1.475 GB, free: 5.668 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-05/0.5881, allocations: 41.7 kB / 1.475 GB, free: 5.621 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007606/0.5889, allocations: 0.678 MB / 1.476 GB, free: 4.938 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.5891, allocations: 178.5 kB / 1.476 GB, free: 4.762 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.5894, allocations: 174.5 kB / 1.476 GB, free: 4.586 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5896, allocations: 341.9 kB / 1.477 GB, free: 4.246 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.5907, allocations: 361.8 kB / 1.477 GB, free: 3.891 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.5922, allocations: 0.67 MB / 1.478 GB, free: 3.094 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.5943, allocations: 0.8828 MB / 1.479 GB, free: 2.105 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5943, allocations: 0 / 1.479 GB, free: 2.105 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003573/0.5979, allocations: 1.198 MB / 1.48 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5979, allocations: 10.5 kB / 1.48 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5979, allocations: 11.94 kB / 1.48 GB, free: 0.875 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009627/0.5989, allocations: 224.6 kB / 1.48 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.5997, allocations: 191.7 kB / 1.48 GB, free: 476 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.6008, allocations: 0.7162 MB / 1.481 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.6024, allocations: 223 kB / 1.481 GB, free: 15.5 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.6025, allocations: 39.98 kB / 1.481 GB, free: 15.46 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.0007208/0.6032, allocations: 365.5 kB / 1.482 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/0.6036, allocations: 162.9 kB / 1.482 GB, free: 14.94 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.6065, allocations: 1.132 MB / 1.483 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.6065, allocations: 12 kB / 1.483 GB, free: 13.78 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6065, allocations: 4 kB / 1.483 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.6065, allocations: 3.984 kB / 1.483 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/0.6127, allocations: 2.503 MB / 1.485 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.6127, allocations: 0 / 1.485 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/0.6131, allocations: 88.06 kB / 1.485 GB, free: 11.1 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008551/0.6139, allocations: 216.5 kB / 1.486 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.614, allocations: 16 kB / 1.486 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.6154, allocations: 0.7747 MB / 1.486 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6154, allocations: 4.219 kB / 1.486 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/0.6193, allocations: 1.208 MB / 1.487 GB, free: 8.82 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007917/0.6201, allocations: 371.6 kB / 1.488 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.6204, allocations: 8 kB / 1.488 GB, free: 8.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6214, allocations: 75.91 kB / 1.488 GB, free: 8.355 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6216, allocations: 40.45 kB / 1.488 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.6216, allocations: 23.98 kB / 1.488 GB, free: 8.289 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002339/0.624, allocations: 1.09 MB / 1.489 GB, free: 7.203 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.624, allocations: 0 / 1.489 GB, free: 7.203 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001708/0.6257, allocations: 463 kB / 1.489 GB, free: 6.75 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.005333/0.631, allocations: 2.1 MB / 1.492 GB, free: 4.598 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002597/0.6336, allocations: 0.833 MB / 1.492 GB, free: 3.77 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6336, allocations: 0 / 1.492 GB, free: 3.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.6351, allocations: 411.6 kB / 1.493 GB, free: 3.367 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/0.6393, allocations: 0.735 MB / 1.493 GB, free: 2.641 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/0.6621, allocations: 10.51 MB / 1.504 GB, free: 7.746 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.6631, allocations: 1.164 MB / 1.505 GB, free: 6.555 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001162/0.6643, allocations: 272.2 kB / 1.505 GB, free: 6.285 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.6652, allocations: 0.5422 MB / 1.506 GB, free: 5.742 MB / 1.201 GB Notification: Performance of SimCode: time 8.02e-07/0.6652, allocations: 0 / 1.506 GB, free: 5.742 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09945/0.7647, allocations: 43.89 MB / 1.549 GB, free: 10.33 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.24, allocations: 21.44 kB / 1.549 GB, free: 10.31 MB / 1.248 GB " [Timeout remaining time 284] (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.715252335183322]