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.002128/0.002128, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002269/0.002269, allocations: 217.9 kB / 22.3 MB, free: 5.301 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.732/1.732, allocations: 230.6 MB / 256.1 MB, free: 7.781 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.825/3.825, allocations: 0.5094 GB / 0.8146 GB, free: 19.27 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: 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_latest_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_latest_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.002203/0.002203, allocations: 67.27 kB / 1.184 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5713, allocations: 181.5 MB / 1.362 GB, free: 15.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08634/0.6576, allocations: 65.18 MB / 1.425 GB, free: 14.32 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03116/0.6888, allocations: 17.55 MB / 1.442 GB, free: 12.72 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/0.693, allocations: 95.19 kB / 1.443 GB, free: 12.62 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.6957, allocations: 0.8307 MB / 1.443 GB, free: 11.79 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.7066, allocations: 3.021 MB / 1.446 GB, free: 8.754 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005842/0.7125, allocations: 1.694 MB / 1.448 GB, free: 7.066 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007672/0.7201, allocations: 4.049 MB / 1.452 GB, free: 3.008 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.7222, allocations: 1.134 MB / 1.453 GB, free: 1.836 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.728, allocations: 1.998 MB / 1.455 GB, free: 15.83 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.7303, allocations: 1.139 MB / 1.456 GB, free: 14.69 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.7306, allocations: 176 kB / 1.456 GB, free: 14.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.734, allocations: 1.15 MB / 1.457 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.7345, allocations: 402.4 kB / 1.458 GB, free: 12.97 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.7356, allocations: 0.7194 MB / 1.458 GB, free: 12.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/0.7407, allocations: 3.103 MB / 1.462 GB, free: 9.133 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7407, allocations: 0 / 1.462 GB, free: 9.133 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7407, allocations: 0 / 1.462 GB, free: 9.133 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.038e-05/0.7407, allocations: 0 / 1.462 GB, free: 9.133 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.004161/0.7449, allocations: 2.023 MB / 1.463 GB, free: 7.062 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.7449, allocations: 11.97 kB / 1.463 GB, free: 7.051 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.7472, allocations: 458.7 kB / 1.464 GB, free: 6.602 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/0.7503, allocations: 1.519 MB / 1.465 GB, free: 5.031 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.7504, allocations: 78.03 kB / 1.465 GB, free: 4.953 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.7505, allocations: 104 kB / 1.466 GB, free: 4.852 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.7534, allocations: 1.41 MB / 1.467 GB, free: 3.309 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.7534, allocations: 7.938 kB / 1.467 GB, free: 3.301 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.7536, allocations: 48 kB / 1.467 GB, free: 3.254 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.7536, allocations: 27.94 kB / 1.467 GB, free: 3.227 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.7564, allocations: 1.097 MB / 1.468 GB, free: 2.125 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.009034/0.7654, allocations: 5.398 MB / 1.473 GB, free: 12.58 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.7688, allocations: 0.7757 MB / 1.474 GB, free: 11.8 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/0.7694, allocations: 266.2 kB / 1.474 GB, free: 11.54 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.77, allocations: 164.4 kB / 1.475 GB, free: 11.38 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.77, allocations: 46.94 kB / 1.475 GB, free: 11.32 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.855e-06/0.77, allocations: 0 / 1.475 GB, free: 11.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.004828/0.7749, allocations: 1.235 MB / 1.476 GB, free: 10.08 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.7749, allocations: 55.91 kB / 1.476 GB, free: 10.01 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/0.777, allocations: 1.224 MB / 1.477 GB, free: 8.777 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.7771, allocations: 37.7 kB / 1.477 GB, free: 8.734 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/0.7777, allocations: 0.7149 MB / 1.478 GB, free: 8.012 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.778, allocations: 182.5 kB / 1.478 GB, free: 7.832 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003295/0.7783, allocations: 178.5 kB / 1.478 GB, free: 7.652 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002242/0.7785, allocations: 330 kB / 1.478 GB, free: 7.324 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.7795, allocations: 365.8 kB / 1.479 GB, free: 6.965 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.7812, allocations: 0.9845 MB / 1.48 GB, free: 5.777 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.7832, allocations: 0.8977 MB / 1.481 GB, free: 4.773 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.7832, allocations: 4 kB / 1.481 GB, free: 4.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003133/0.7863, allocations: 1.166 MB / 1.482 GB, free: 3.59 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.7864, allocations: 8 kB / 1.482 GB, free: 3.582 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.7864, allocations: 8 kB / 1.482 GB, free: 3.574 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009421/0.7873, allocations: 224.6 kB / 1.482 GB, free: 3.352 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.7881, allocations: 191.7 kB / 1.482 GB, free: 3.164 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009934/0.7891, allocations: 0.724 MB / 1.483 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.7904, allocations: 167.4 kB / 1.483 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.72e-05/0.7905, allocations: 43.98 kB / 1.483 GB, free: 2.207 MB / 1.17 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.0007575/0.7913, allocations: 362.4 kB / 1.483 GB, free: 1.844 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.7915, allocations: 123.2 kB / 1.484 GB, free: 1.723 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.7941, allocations: 1.142 MB / 1.485 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.7942, allocations: 7.984 kB / 1.485 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.7942, allocations: 0 / 1.485 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.7942, allocations: 3.984 kB / 1.485 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005249/0.7994, allocations: 2.189 MB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7994, allocations: 4 kB / 1.487 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.7998, allocations: 84.08 kB / 1.487 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007922/0.8006, allocations: 212.6 kB / 1.487 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.8006, allocations: 23.97 kB / 1.487 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.8021, allocations: 0.7708 MB / 1.488 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.8021, allocations: 7.969 kB / 1.488 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003619/0.8057, allocations: 1.186 MB / 1.489 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.8062, allocations: 242.9 kB / 1.489 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.8064, allocations: 23.88 kB / 1.489 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/0.8072, allocations: 63.92 kB / 1.489 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.8073, allocations: 44.36 kB / 1.489 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.8073, allocations: 28.17 kB / 1.489 GB, free: 11.57 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001629/0.809, allocations: 0.8512 MB / 1.49 GB, free: 10.71 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.809, allocations: 3.938 kB / 1.49 GB, free: 10.71 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001626/0.8106, allocations: 482.7 kB / 1.491 GB, free: 10.24 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.0009246/0.8115, allocations: 453.4 kB / 1.491 GB, free: 9.789 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.8139, allocations: 0.8326 MB / 1.492 GB, free: 8.957 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8139, allocations: 0 / 1.492 GB, free: 8.957 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.8152, allocations: 423.2 kB / 1.492 GB, free: 8.547 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.8173, allocations: 476 kB / 1.493 GB, free: 8.098 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.822, allocations: 2.262 MB / 1.495 GB, free: 5.777 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/0.8227, allocations: 0.5864 MB / 1.496 GB, free: 5.156 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009203/0.8237, allocations: 221.5 kB / 1.496 GB, free: 4.938 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.8239, allocations: 100.4 kB / 1.496 GB, free: 4.84 MB / 1.186 GB Notification: Performance of SimCode: time 1.132e-06/0.8239, allocations: 0 / 1.496 GB, free: 4.84 MB / 1.186 GB Notification: Performance of Templates: time 0.04906/0.873, allocations: 25.05 MB / 1.52 GB, free: 12.24 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.111763974651694]