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.001519/0.001519, allocations: 101.1 kB / 18.99 MB, free: 2.617 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.002299/0.002299, allocations: 222.9 kB / 22.3 MB, free: 5.281 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.635/1.635, allocations: 230.6 MB / 256.1 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.694/3.694, allocations: 0.49 GB / 0.7951 GB, free: 35.39 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.002178/0.002178, allocations: 64.27 kB / 1.154 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4566, allocations: 176.1 MB / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08074/0.5374, allocations: 65.19 MB / 1.39 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04066/0.578, allocations: 17.55 MB / 1.407 GB, free: 14 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006421/0.5844, allocations: 95.19 kB / 1.407 GB, free: 13.9 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.006771/0.5912, allocations: 0.8267 MB / 1.408 GB, free: 13.07 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.01979/0.611, allocations: 3.028 MB / 1.411 GB, free: 10.03 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.00997/0.621, allocations: 1.694 MB / 1.413 GB, free: 8.348 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.633, allocations: 4.054 MB / 1.417 GB, free: 4.285 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004223/0.6372, allocations: 1.126 MB / 1.418 GB, free: 3.121 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009801/0.647, allocations: 2.003 MB / 1.42 GB, free: 1.113 MB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004345/0.6513, allocations: 1.136 MB / 1.421 GB, free: 15.97 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007469/0.6521, allocations: 176 kB / 1.421 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005544/0.6576, allocations: 1.15 MB / 1.422 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/0.6587, allocations: 398.4 kB / 1.422 GB, free: 14.26 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.6612, allocations: 0.7272 MB / 1.423 GB, free: 13.53 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008903/0.6701, allocations: 3.103 MB / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.6701, allocations: 0 / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6701, allocations: 0 / 1.426 GB, free: 10.41 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001051/0.6702, allocations: 0 / 1.426 GB, free: 10.41 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.007132/0.6773, allocations: 2.011 MB / 1.428 GB, free: 8.355 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.6774, allocations: 11.97 kB / 1.428 GB, free: 8.344 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.6804, allocations: 459.3 kB / 1.429 GB, free: 7.895 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.6849, allocations: 1.516 MB / 1.43 GB, free: 6.328 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.6851, allocations: 89.97 kB / 1.43 GB, free: 6.238 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.6855, allocations: 108 kB / 1.43 GB, free: 6.133 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003869/0.6894, allocations: 1.414 MB / 1.432 GB, free: 4.586 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.6894, allocations: 3.938 kB / 1.432 GB, free: 4.582 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.6895, allocations: 44 kB / 1.432 GB, free: 4.539 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.6896, allocations: 24 kB / 1.432 GB, free: 4.516 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002928/0.6925, allocations: 1.097 MB / 1.433 GB, free: 3.414 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.009509/0.702, allocations: 5.413 MB / 1.438 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/0.7054, allocations: 0.77 MB / 1.439 GB, free: 13.08 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006562/0.706, allocations: 262 kB / 1.439 GB, free: 12.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005938/0.7066, allocations: 152.3 kB / 1.439 GB, free: 12.67 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.7067, allocations: 42.92 kB / 1.439 GB, free: 12.62 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 6.141e-06/0.7067, allocations: 7.984 kB / 1.439 GB, free: 12.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005122/0.7118, allocations: 1.244 MB / 1.441 GB, free: 11.36 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.7118, allocations: 55.84 kB / 1.441 GB, free: 11.29 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.714, allocations: 1.221 MB / 1.442 GB, free: 10.06 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.624e-05/0.7141, allocations: 33.7 kB / 1.442 GB, free: 10.02 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.7148, allocations: 0.7149 MB / 1.443 GB, free: 9.297 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/0.715, allocations: 182.5 kB / 1.443 GB, free: 9.117 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.7154, allocations: 170.5 kB / 1.443 GB, free: 8.945 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.7156, allocations: 330 kB / 1.443 GB, free: 8.617 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.7166, allocations: 365.8 kB / 1.444 GB, free: 8.258 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.7182, allocations: 0.9886 MB / 1.444 GB, free: 7.062 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.7202, allocations: 0.8897 MB / 1.445 GB, free: 6.066 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.7202, allocations: 4 kB / 1.445 GB, free: 6.062 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003212/0.7234, allocations: 1.169 MB / 1.446 GB, free: 4.883 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.7234, allocations: 8 kB / 1.446 GB, free: 4.875 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.7234, allocations: 11.98 kB / 1.447 GB, free: 4.863 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.7244, allocations: 216.7 kB / 1.447 GB, free: 4.648 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008031/0.7252, allocations: 199.7 kB / 1.447 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.7263, allocations: 0.72 MB / 1.448 GB, free: 3.707 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.7277, allocations: 171.4 kB / 1.448 GB, free: 3.539 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.7278, allocations: 43.98 kB / 1.448 GB, free: 3.496 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.0007037/0.7285, allocations: 357.6 kB / 1.448 GB, free: 3.137 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.7287, allocations: 123.2 kB / 1.448 GB, free: 3.016 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/0.7314, allocations: 1.138 MB / 1.449 GB, free: 1.859 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.7314, allocations: 8 kB / 1.449 GB, free: 1.852 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.7314, allocations: 0 / 1.449 GB, free: 1.852 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7314, allocations: 7.984 kB / 1.449 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/0.737, allocations: 2.2 MB / 1.452 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.737, allocations: 4 kB / 1.452 GB, free: 15.58 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.7374, allocations: 83.88 kB / 1.452 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/0.7382, allocations: 216.8 kB / 1.452 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.7382, allocations: 15.98 kB / 1.452 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.7397, allocations: 0.7708 MB / 1.453 GB, free: 14.47 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7397, allocations: 4.031 kB / 1.453 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.7434, allocations: 1.198 MB / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/0.7441, allocations: 238.9 kB / 1.454 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.7443, allocations: 20 kB / 1.454 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/0.7451, allocations: 63.86 kB / 1.454 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7452, allocations: 40.42 kB / 1.454 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.7452, allocations: 31.98 kB / 1.454 GB, free: 12.84 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001636/0.7469, allocations: 0.8473 MB / 1.455 GB, free: 11.99 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7469, allocations: 8.125 kB / 1.455 GB, free: 11.98 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001614/0.7485, allocations: 482.7 kB / 1.455 GB, free: 11.51 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.0009207/0.7494, allocations: 460.8 kB / 1.456 GB, free: 11.06 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0024/0.7518, allocations: 0.8403 MB / 1.457 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7518, allocations: 0 / 1.457 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.7532, allocations: 419.4 kB / 1.457 GB, free: 9.816 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.7554, allocations: 480.1 kB / 1.458 GB, free: 9.359 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/0.7601, allocations: 2.245 MB / 1.46 GB, free: 7.059 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.7608, allocations: 0.5903 MB / 1.46 GB, free: 6.434 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00096/0.7618, allocations: 218.7 kB / 1.461 GB, free: 6.219 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.762, allocations: 99.41 kB / 1.461 GB, free: 6.121 MB / 1.154 GB Notification: Performance of SimCode: time 1.263e-06/0.762, allocations: 0 / 1.461 GB, free: 6.121 MB / 1.154 GB Notification: Performance of Templates: time 0.0509/0.8129, allocations: 27.19 MB / 1.487 GB, free: 11.4 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/jenkins/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: 11.598207984119654]