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.001799/0.001799, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003499/0.003499, allocations: 212.2 kB / 22.24 MB, free: 5.258 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.718/1.718, allocations: 230.6 MB / 256 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.771/3.771, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002285/0.002285, allocations: 67.69 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4933, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08015/0.5734, allocations: 65.19 MB / 1.427 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02819/0.6016, allocations: 17.55 MB / 1.445 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003338/0.6049, allocations: 95.19 kB / 1.445 GB, free: 10.51 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003189/0.6081, allocations: 0.8268 MB / 1.446 GB, free: 9.68 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01165/0.6198, allocations: 3.016 MB / 1.448 GB, free: 6.652 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005615/0.6254, allocations: 1.687 MB / 1.45 GB, free: 4.973 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.007815/0.6332, allocations: 4.057 MB / 1.454 GB, free: 0.9023 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00284/0.636, allocations: 1.138 MB / 1.455 GB, free: 15.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006131/0.6422, allocations: 2 MB / 1.457 GB, free: 13.72 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003348/0.6455, allocations: 1.139 MB / 1.458 GB, free: 12.58 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000862/0.6464, allocations: 176 kB / 1.458 GB, free: 12.41 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/0.6507, allocations: 1.146 MB / 1.46 GB, free: 11.26 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001438/0.6521, allocations: 402.4 kB / 1.46 GB, free: 10.86 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002565/0.6547, allocations: 0.7156 MB / 1.461 GB, free: 10.14 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006285/0.661, allocations: 3.107 MB / 1.464 GB, free: 7.027 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.661, allocations: 3.938 kB / 1.464 GB, free: 7.023 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.713e-06/0.661, allocations: 0 / 1.464 GB, free: 7.023 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.285e-05/0.661, allocations: 0 / 1.464 GB, free: 7.023 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.004444/0.6655, allocations: 2.015 MB / 1.466 GB, free: 4.961 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.6655, allocations: 12.03 kB / 1.466 GB, free: 4.949 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.6679, allocations: 454.8 kB / 1.466 GB, free: 4.504 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.6713, allocations: 1.519 MB / 1.468 GB, free: 2.934 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-05/0.6714, allocations: 78.03 kB / 1.468 GB, free: 2.855 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.6716, allocations: 112 kB / 1.468 GB, free: 2.746 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.6745, allocations: 1.413 MB / 1.469 GB, free: 1.199 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.6746, allocations: 4 kB / 1.469 GB, free: 1.195 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.6747, allocations: 43.94 kB / 1.469 GB, free: 1.152 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.6747, allocations: 31.94 kB / 1.469 GB, free: 1.121 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.6776, allocations: 1.101 MB / 1.47 GB, free: 20 kB / 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.00942/0.687, allocations: 5.386 MB / 1.476 GB, free: 10.49 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/0.6902, allocations: 0.7731 MB / 1.476 GB, free: 9.711 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.6909, allocations: 266 kB / 1.477 GB, free: 9.445 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.6915, allocations: 160.3 kB / 1.477 GB, free: 9.289 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.6915, allocations: 46.92 kB / 1.477 GB, free: 9.234 MB / 1.17 GB Notification: Performance of pre-optimization done (n=48): time 2.455e-06/0.6915, allocations: 0 / 1.477 GB, free: 9.234 MB / 1.17 GB Notification: Performance of matching and sorting (n=48): time 0.00518/0.6967, allocations: 1.244 MB / 1.478 GB, free: 7.98 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.6968, allocations: 55.84 kB / 1.478 GB, free: 7.914 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.699, allocations: 1.224 MB / 1.479 GB, free: 6.68 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.6991, allocations: 33.7 kB / 1.479 GB, free: 6.641 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007814/0.6999, allocations: 0.711 MB / 1.48 GB, free: 5.922 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.7001, allocations: 178.5 kB / 1.48 GB, free: 5.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.7004, allocations: 174.4 kB / 1.48 GB, free: 5.57 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.7007, allocations: 334 kB / 1.481 GB, free: 5.238 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009959/0.7017, allocations: 365.8 kB / 1.481 GB, free: 4.879 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.7033, allocations: 0.9962 MB / 1.482 GB, free: 3.68 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.7053, allocations: 0.8897 MB / 1.483 GB, free: 2.68 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.7053, allocations: 3.938 kB / 1.483 GB, free: 2.676 MB / 1.17 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003333/0.7087, allocations: 1.162 MB / 1.484 GB, free: 1.504 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.7087, allocations: 8 kB / 1.484 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.7087, allocations: 8 kB / 1.484 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.7097, allocations: 228.5 kB / 1.484 GB, free: 1.262 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.7105, allocations: 199.7 kB / 1.484 GB, free: 1.066 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.7116, allocations: 0.7123 MB / 1.485 GB, free: 336 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.713, allocations: 175.4 kB / 1.485 GB, free: 160 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.7132, allocations: 43.98 kB / 1.485 GB, free: 116 kB / 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.0009648/0.7141, allocations: 361.6 kB / 1.486 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.7145, allocations: 123.2 kB / 1.486 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.7174, allocations: 1.138 MB / 1.487 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.7174, allocations: 8 kB / 1.487 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.7174, allocations: 4 kB / 1.487 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.7175, allocations: 7.922 kB / 1.487 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/0.7236, allocations: 2.189 MB / 1.489 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.7236, allocations: 3.938 kB / 1.489 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.724, allocations: 83.88 kB / 1.489 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000821/0.7248, allocations: 208.8 kB / 1.489 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.7249, allocations: 15.98 kB / 1.489 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/0.7264, allocations: 0.767 MB / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.7264, allocations: 3.938 kB / 1.49 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.7303, allocations: 1.194 MB / 1.491 GB, free: 9.875 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/0.7311, allocations: 246.8 kB / 1.491 GB, free: 9.633 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/0.7314, allocations: 15.94 kB / 1.491 GB, free: 9.617 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.7324, allocations: 67.92 kB / 1.492 GB, free: 9.551 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7325, allocations: 40.42 kB / 1.492 GB, free: 9.512 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.7326, allocations: 24.17 kB / 1.492 GB, free: 9.488 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002042/0.7346, allocations: 0.8551 MB / 1.492 GB, free: 8.629 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7346, allocations: 3.938 kB / 1.492 GB, free: 8.625 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001834/0.7364, allocations: 482.7 kB / 1.493 GB, free: 8.152 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.001154/0.7376, allocations: 464.3 kB / 1.493 GB, free: 7.691 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002567/0.7402, allocations: 0.8287 MB / 1.494 GB, free: 6.867 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7402, allocations: 0 / 1.494 GB, free: 6.867 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.7417, allocations: 431.2 kB / 1.495 GB, free: 6.449 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.7441, allocations: 476.2 kB / 1.495 GB, free: 5.996 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005492/0.7496, allocations: 2.26 MB / 1.497 GB, free: 3.68 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.7504, allocations: 0.5864 MB / 1.498 GB, free: 3.059 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001066/0.7515, allocations: 224.9 kB / 1.498 GB, free: 2.84 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.7518, allocations: 95.41 kB / 1.498 GB, free: 2.746 MB / 1.186 GB Notification: Performance of SimCode: time 1.232e-06/0.7518, allocations: 0 / 1.498 GB, free: 2.746 MB / 1.186 GB Notification: Performance of Templates: time 0.05022/0.802, allocations: 27.18 MB / 1.525 GB, free: 8.016 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: 11.906095603480935]