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.001351/0.001351, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001533/0.001533, allocations: 210.3 kB / 23.03 MB, free: 4.863 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.206/3.206, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.002015/0.002015, allocations: 67.09 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.074/0.474, allocations: 65.18 MB / 1.391 GB, free: 15.56 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02617/0.5002, allocations: 17.57 MB / 1.408 GB, free: 13.95 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003222/0.5034, allocations: 103.1 kB / 1.408 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.5061, allocations: 0.819 MB / 1.409 GB, free: 13.02 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009527/0.5157, allocations: 3.019 MB / 1.412 GB, free: 9.988 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005211/0.5209, allocations: 1.694 MB / 1.413 GB, free: 8.301 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006673/0.5275, allocations: 4.042 MB / 1.417 GB, free: 4.25 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.5297, allocations: 1.138 MB / 1.419 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00519/0.5349, allocations: 2.007 MB / 1.42 GB, free: 1.062 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.5373, allocations: 1.137 MB / 1.422 GB, free: 15.92 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.5376, allocations: 176 kB / 1.422 GB, free: 15.75 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.5406, allocations: 1.154 MB / 1.423 GB, free: 14.59 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004443/0.541, allocations: 390.5 kB / 1.423 GB, free: 14.21 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.542, allocations: 0.7233 MB / 1.424 GB, free: 13.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005173/0.5472, allocations: 3.107 MB / 1.427 GB, free: 10.37 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5472, allocations: 0 / 1.427 GB, free: 10.37 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5472, allocations: 0 / 1.427 GB, free: 10.37 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.236e-05/0.5473, allocations: 0 / 1.427 GB, free: 10.37 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.004034/0.5513, allocations: 2.015 MB / 1.429 GB, free: 8.305 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5513, allocations: 8.031 kB / 1.429 GB, free: 8.297 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.5536, allocations: 459.4 kB / 1.429 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003226/0.5569, allocations: 1.519 MB / 1.431 GB, free: 6.277 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.5569, allocations: 82.03 kB / 1.431 GB, free: 6.195 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.5571, allocations: 104 kB / 1.431 GB, free: 6.094 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.5599, allocations: 1.414 MB / 1.432 GB, free: 4.547 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.5599, allocations: 3.938 kB / 1.432 GB, free: 4.543 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.56, allocations: 44 kB / 1.432 GB, free: 4.5 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.56, allocations: 24 kB / 1.433 GB, free: 4.477 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.5627, allocations: 1.105 MB / 1.434 GB, free: 3.367 MB / 1.123 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.008224/0.5709, allocations: 5.402 MB / 1.439 GB, free: 13.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.5741, allocations: 0.7786 MB / 1.44 GB, free: 13.03 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.5747, allocations: 266 kB / 1.44 GB, free: 12.77 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005358/0.5752, allocations: 156.3 kB / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.5753, allocations: 39 kB / 1.44 GB, free: 12.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.374e-06/0.5753, allocations: 0 / 1.44 GB, free: 12.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.00479/0.5801, allocations: 1.244 MB / 1.441 GB, free: 11.31 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.5801, allocations: 55.84 kB / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/0.5822, allocations: 1.221 MB / 1.443 GB, free: 10.02 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.851e-05/0.5823, allocations: 37.7 kB / 1.443 GB, free: 9.973 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006677/0.5829, allocations: 0.711 MB / 1.443 GB, free: 9.254 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.5831, allocations: 182.5 kB / 1.443 GB, free: 9.074 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003069/0.5834, allocations: 170.5 kB / 1.444 GB, free: 8.902 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.5836, allocations: 333.9 kB / 1.444 GB, free: 8.57 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.5846, allocations: 365.8 kB / 1.444 GB, free: 8.211 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.5861, allocations: 0.9886 MB / 1.445 GB, free: 7.016 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.588, allocations: 0.8858 MB / 1.446 GB, free: 6.023 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.588, allocations: 4 kB / 1.446 GB, free: 6.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003056/0.591, allocations: 1.173 MB / 1.447 GB, free: 4.836 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5911, allocations: 8 kB / 1.447 GB, free: 4.828 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.5911, allocations: 8 kB / 1.447 GB, free: 4.82 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009013/0.592, allocations: 224.6 kB / 1.447 GB, free: 4.598 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.5927, allocations: 195.7 kB / 1.448 GB, free: 4.406 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009336/0.5937, allocations: 0.7201 MB / 1.448 GB, free: 3.66 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.5951, allocations: 175.4 kB / 1.449 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/0.5952, allocations: 43.97 kB / 1.449 GB, free: 3.445 MB / 1.139 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.0006928/0.5959, allocations: 353.6 kB / 1.449 GB, free: 3.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.5961, allocations: 123.2 kB / 1.449 GB, free: 2.969 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.5985, allocations: 1.145 MB / 1.45 GB, free: 1.809 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.5985, allocations: 8 kB / 1.45 GB, free: 1.801 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5985, allocations: 0 / 1.45 GB, free: 1.801 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5986, allocations: 3.984 kB / 1.45 GB, free: 1.797 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.6037, allocations: 2.2 MB / 1.452 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6037, allocations: 7.938 kB / 1.452 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.604, allocations: 83.88 kB / 1.452 GB, free: 15.45 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007497/0.6048, allocations: 224.8 kB / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.6048, allocations: 16 kB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.6062, allocations: 0.7631 MB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.6062, allocations: 4.031 kB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/0.6096, allocations: 1.194 MB / 1.455 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006291/0.6103, allocations: 238.9 kB / 1.455 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6104, allocations: 12 kB / 1.455 GB, free: 12.94 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/0.6112, allocations: 67.86 kB / 1.455 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6113, allocations: 48.41 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.6113, allocations: 27.98 kB / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001535/0.6129, allocations: 0.855 MB / 1.456 GB, free: 11.94 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6129, allocations: 4 kB / 1.456 GB, free: 11.94 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00157/0.6144, allocations: 490.7 kB / 1.456 GB, free: 11.46 MB / 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.0008279/0.6153, allocations: 446.3 kB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.6175, allocations: 0.8325 MB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6175, allocations: 0 / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.6188, allocations: 427.4 kB / 1.458 GB, free: 9.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.621, allocations: 474 kB / 1.458 GB, free: 9.32 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/0.6263, allocations: 2.292 MB / 1.461 GB, free: 6.969 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007595/0.627, allocations: 0.5721 MB / 1.461 GB, free: 6.363 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.6275, allocations: 103.4 kB / 1.461 GB, free: 6.262 MB / 1.154 GB Notification: Performance of SimCode: time 1.463e-06/0.6275, allocations: 0 / 1.461 GB, free: 6.262 MB / 1.154 GB Notification: Performance of Templates: time 0.04912/0.6766, allocations: 31.53 MB / 1.492 GB, free: 6.898 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.085659054107964]