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.001615/0.001615, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002005/0.002005, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.724/1.724, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.317/3.317, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.002068/0.002068, allocations: 69.27 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.4002, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07976/0.48, allocations: 65.18 MB / 1.391 GB, free: 15.57 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.5085, allocations: 17.56 MB / 1.408 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003509/0.512, allocations: 95.19 kB / 1.408 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.5148, allocations: 0.8229 MB / 1.409 GB, free: 13.05 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009384/0.5242, allocations: 3.029 MB / 1.412 GB, free: 10 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.5291, allocations: 1.705 MB / 1.413 GB, free: 8.309 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007686/0.5368, allocations: 4.077 MB / 1.417 GB, free: 4.223 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.5392, allocations: 1.153 MB / 1.418 GB, free: 3.031 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005374/0.5445, allocations: 2.004 MB / 1.42 GB, free: 1.023 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002608/0.5472, allocations: 1.21 MB / 1.422 GB, free: 15.81 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003899/0.5475, allocations: 176 kB / 1.422 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.5507, allocations: 1.178 MB / 1.423 GB, free: 14.46 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004944/0.5511, allocations: 402.4 kB / 1.423 GB, free: 14.06 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.5523, allocations: 0.7194 MB / 1.424 GB, free: 13.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005762/0.5581, allocations: 3.103 MB / 1.427 GB, free: 10.23 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5581, allocations: 0 / 1.427 GB, free: 10.23 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.755e-06/0.5581, allocations: 0 / 1.427 GB, free: 10.23 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.142e-05/0.5581, allocations: 3.938 kB / 1.427 GB, free: 10.22 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.004307/0.5624, allocations: 2.007 MB / 1.429 GB, free: 8.168 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5625, allocations: 11.97 kB / 1.429 GB, free: 8.156 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.5649, allocations: 455.4 kB / 1.429 GB, free: 7.711 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.5682, allocations: 1.523 MB / 1.431 GB, free: 6.137 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-05/0.5683, allocations: 86.03 kB / 1.431 GB, free: 6.051 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.5684, allocations: 100 kB / 1.431 GB, free: 5.953 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.5713, allocations: 1.417 MB / 1.433 GB, free: 4.402 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.5713, allocations: 3.938 kB / 1.433 GB, free: 4.398 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.5714, allocations: 44 kB / 1.433 GB, free: 4.355 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.5715, allocations: 27.98 kB / 1.433 GB, free: 4.328 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.5743, allocations: 1.104 MB / 1.434 GB, free: 3.219 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.008897/0.5832, allocations: 5.398 MB / 1.439 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003354/0.5865, allocations: 0.776 MB / 1.44 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.5872, allocations: 266 kB / 1.44 GB, free: 12.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005932/0.5877, allocations: 148.3 kB / 1.44 GB, free: 12.48 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5878, allocations: 43 kB / 1.44 GB, free: 12.43 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.5878, allocations: 0 / 1.44 GB, free: 12.43 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004994/0.5928, allocations: 1.244 MB / 1.441 GB, free: 11.18 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.5928, allocations: 55.84 kB / 1.441 GB, free: 11.11 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.5949, allocations: 1.224 MB / 1.443 GB, free: 9.875 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.595, allocations: 37.7 kB / 1.443 GB, free: 9.832 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006572/0.5957, allocations: 0.711 MB / 1.443 GB, free: 9.113 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.5959, allocations: 186.4 kB / 1.444 GB, free: 8.93 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.5962, allocations: 174.5 kB / 1.444 GB, free: 8.754 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5964, allocations: 330 kB / 1.444 GB, free: 8.426 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.5974, allocations: 369.8 kB / 1.444 GB, free: 8.062 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.5989, allocations: 0.9808 MB / 1.445 GB, free: 6.875 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.6009, allocations: 0.8897 MB / 1.446 GB, free: 5.879 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.6009, allocations: 4 kB / 1.446 GB, free: 5.875 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003192/0.6041, allocations: 1.173 MB / 1.447 GB, free: 4.691 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.6041, allocations: 8 kB / 1.447 GB, free: 4.684 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.6042, allocations: 8.031 kB / 1.447 GB, free: 4.676 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.6052, allocations: 224.5 kB / 1.448 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/0.6061, allocations: 195.6 kB / 1.448 GB, free: 4.262 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.6073, allocations: 0.7201 MB / 1.448 GB, free: 3.516 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.6089, allocations: 171.4 kB / 1.449 GB, free: 3.348 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.609, allocations: 43.98 kB / 1.449 GB, free: 3.305 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.0008351/0.6098, allocations: 353.6 kB / 1.449 GB, free: 2.949 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.6101, allocations: 123.2 kB / 1.449 GB, free: 2.828 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.6126, allocations: 1.141 MB / 1.45 GB, free: 1.672 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.6126, allocations: 12 kB / 1.45 GB, free: 1.66 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.6126, allocations: 7.938 kB / 1.45 GB, free: 1.652 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6126, allocations: 3.984 kB / 1.45 GB, free: 1.648 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/0.618, allocations: 2.192 MB / 1.452 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.618, allocations: 4 kB / 1.452 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.6184, allocations: 79.89 kB / 1.452 GB, free: 15.32 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007981/0.6192, allocations: 216.8 kB / 1.453 GB, free: 15.1 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.6193, allocations: 15.98 kB / 1.453 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.6207, allocations: 0.767 MB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.6207, allocations: 4.031 kB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.6243, allocations: 1.194 MB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/0.6248, allocations: 250.8 kB / 1.455 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.625, allocations: 12 kB / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.6258, allocations: 67.86 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.6259, allocations: 48.42 kB / 1.455 GB, free: 12.69 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/0.626, allocations: 27.98 kB / 1.455 GB, free: 12.66 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001521/0.6275, allocations: 0.8475 MB / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6275, allocations: 0 / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001489/0.629, allocations: 486.6 kB / 1.456 GB, free: 11.33 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.0008842/0.6299, allocations: 458.2 kB / 1.457 GB, free: 10.88 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.632, allocations: 0.8248 MB / 1.458 GB, free: 10.05 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.632, allocations: 0 / 1.458 GB, free: 10.05 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6334, allocations: 431.2 kB / 1.458 GB, free: 9.637 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.6353, allocations: 481.5 kB / 1.458 GB, free: 9.18 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.6396, allocations: 2.259 MB / 1.461 GB, free: 6.863 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.6403, allocations: 0.5864 MB / 1.461 GB, free: 6.242 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0007756/0.6411, allocations: 217.4 kB / 1.461 GB, free: 6.027 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.6413, allocations: 95.41 kB / 1.461 GB, free: 5.934 MB / 1.154 GB Notification: Performance of SimCode: time 8.61e-07/0.6413, allocations: 4 kB / 1.461 GB, free: 5.93 MB / 1.154 GB Notification: Performance of Templates: time 0.04749/0.6888, allocations: 27.46 MB / 1.488 GB, free: 10.93 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 -s gbode -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: 10.658359843000653]