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.001594/0.001594, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001774/0.001774, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.263/3.263, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 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.002102/0.002102, allocations: 74.11 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3974, allocations: 176.1 MB / 1.326 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07947/0.4768, allocations: 65.18 MB / 1.39 GB, free: 384 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0283/0.5051, allocations: 17.56 MB / 1.407 GB, free: 14.76 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.5085, allocations: 95.19 kB / 1.407 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.5113, allocations: 0.8268 MB / 1.408 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009969/0.5213, allocations: 3.023 MB / 1.411 GB, free: 10.8 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005047/0.5263, allocations: 1.689 MB / 1.413 GB, free: 9.121 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006909/0.5333, allocations: 4.05 MB / 1.417 GB, free: 5.062 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.5356, allocations: 1.138 MB / 1.418 GB, free: 3.887 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005528/0.5411, allocations: 2.003 MB / 1.42 GB, free: 1.879 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.544, allocations: 1.139 MB / 1.421 GB, free: 0.7344 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000368/0.5443, allocations: 172 kB / 1.421 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.5478, allocations: 1.158 MB / 1.422 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/0.5482, allocations: 398.5 kB / 1.422 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.5495, allocations: 0.7116 MB / 1.423 GB, free: 14.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005756/0.5553, allocations: 3.107 MB / 1.426 GB, free: 11.18 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.5553, allocations: 0 / 1.426 GB, free: 11.18 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5553, allocations: 4 kB / 1.426 GB, free: 11.18 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.5553, allocations: 0 / 1.426 GB, free: 11.18 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.004361/0.5597, allocations: 2.015 MB / 1.428 GB, free: 9.117 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5597, allocations: 8.031 kB / 1.428 GB, free: 9.109 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.562, allocations: 455.4 kB / 1.429 GB, free: 8.664 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/0.5653, allocations: 1.523 MB / 1.43 GB, free: 7.09 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.5653, allocations: 82.03 kB / 1.43 GB, free: 7.008 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.5655, allocations: 104 kB / 1.43 GB, free: 6.906 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.5683, allocations: 1.41 MB / 1.432 GB, free: 5.363 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.5683, allocations: 3.938 kB / 1.432 GB, free: 5.359 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5684, allocations: 48 kB / 1.432 GB, free: 5.312 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.5685, allocations: 28 kB / 1.432 GB, free: 5.285 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.5712, allocations: 1.101 MB / 1.433 GB, free: 4.18 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.009099/0.5803, allocations: 5.402 MB / 1.438 GB, free: 14.63 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/0.5835, allocations: 0.7819 MB / 1.439 GB, free: 13.84 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.5841, allocations: 262 kB / 1.439 GB, free: 13.58 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/0.5847, allocations: 160.3 kB / 1.439 GB, free: 13.42 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.5847, allocations: 39 kB / 1.439 GB, free: 13.38 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.236e-06/0.5847, allocations: 0 / 1.439 GB, free: 13.38 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005002/0.5897, allocations: 1.236 MB / 1.44 GB, free: 12.13 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.5898, allocations: 59.84 kB / 1.44 GB, free: 12.06 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.5919, allocations: 1.217 MB / 1.442 GB, free: 10.83 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.592, allocations: 41.7 kB / 1.442 GB, free: 10.79 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006791/0.5927, allocations: 0.7109 MB / 1.442 GB, free: 10.07 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.5929, allocations: 178.5 kB / 1.443 GB, free: 9.895 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.5932, allocations: 182.4 kB / 1.443 GB, free: 9.711 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5934, allocations: 341.9 kB / 1.443 GB, free: 9.371 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009943/0.5944, allocations: 361.8 kB / 1.443 GB, free: 9.016 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.5958, allocations: 0.9847 MB / 1.444 GB, free: 7.824 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.5978, allocations: 0.8897 MB / 1.445 GB, free: 6.828 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.5978, allocations: 8 kB / 1.445 GB, free: 6.82 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003106/0.6009, allocations: 1.165 MB / 1.446 GB, free: 5.645 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.601, allocations: 8 kB / 1.446 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.601, allocations: 8 kB / 1.446 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009178/0.6019, allocations: 220.6 kB / 1.447 GB, free: 5.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.6026, allocations: 191.7 kB / 1.447 GB, free: 5.223 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009615/0.6036, allocations: 0.7279 MB / 1.448 GB, free: 4.469 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.605, allocations: 163.5 kB / 1.448 GB, free: 4.309 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.382e-05/0.6051, allocations: 39.98 kB / 1.448 GB, free: 4.27 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.0007444/0.6059, allocations: 361.6 kB / 1.448 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.6061, allocations: 127.2 kB / 1.448 GB, free: 3.781 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.6086, allocations: 1.134 MB / 1.449 GB, free: 2.629 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.6086, allocations: 8 kB / 1.449 GB, free: 2.621 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6087, allocations: 4 kB / 1.449 GB, free: 2.617 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.6087, allocations: 3.984 kB / 1.449 GB, free: 2.613 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/0.614, allocations: 2.2 MB / 1.451 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.614, allocations: 0 / 1.451 GB, free: 364 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.6144, allocations: 88.06 kB / 1.452 GB, free: 276 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008217/0.6152, allocations: 216.5 kB / 1.452 GB, free: 56 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.6153, allocations: 20.08 kB / 1.452 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.6166, allocations: 0.7786 MB / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.6166, allocations: 0 / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.6203, allocations: 1.19 MB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/0.621, allocations: 242.9 kB / 1.454 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.6211, allocations: 12 kB / 1.454 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.6219, allocations: 71.86 kB / 1.454 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.622, allocations: 48.36 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/0.6221, allocations: 23.98 kB / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001638/0.6237, allocations: 0.8551 MB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6237, allocations: 0 / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00168/0.6254, allocations: 486.7 kB / 1.455 GB, free: 12.28 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.0009122/0.6263, allocations: 454.1 kB / 1.456 GB, free: 11.83 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.6286, allocations: 0.828 MB / 1.457 GB, free: 11 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6286, allocations: 4 kB / 1.457 GB, free: 11 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.6299, allocations: 427.9 kB / 1.457 GB, free: 10.59 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.632, allocations: 466.6 kB / 1.457 GB, free: 10.14 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.6366, allocations: 2.298 MB / 1.46 GB, free: 7.785 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.6372, allocations: 0.5721 MB / 1.46 GB, free: 7.18 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.6376, allocations: 107.4 kB / 1.46 GB, free: 7.074 MB / 1.154 GB Notification: Performance of SimCode: time 1.372e-06/0.6376, allocations: 0 / 1.46 GB, free: 7.074 MB / 1.154 GB Notification: Performance of Templates: time 0.04862/0.6862, allocations: 31.51 MB / 1.491 GB, free: 7.727 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.282409437932074]