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.001914/0.001914, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.003923/0.003923, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 7.996 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.637/3.637, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.00236/0.00236, allocations: 63.78 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4704, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08259/0.553, allocations: 72.1 MB / 1.397 GB, free: 9.086 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03139/0.5844, allocations: 19.11 MB / 1.415 GB, free: 5.922 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004022/0.5884, allocations: 95.19 kB / 1.416 GB, free: 5.828 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.592, allocations: 0.8579 MB / 1.416 GB, free: 4.965 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01231/0.6043, allocations: 3.06 MB / 1.419 GB, free: 1.895 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/0.6108, allocations: 1.703 MB / 1.421 GB, free: 200 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008726/0.6195, allocations: 4.085 MB / 1.425 GB, free: 12.1 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.6227, allocations: 1.157 MB / 1.426 GB, free: 10.91 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006441/0.6291, allocations: 1.983 MB / 1.428 GB, free: 8.918 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003878/0.633, allocations: 1.21 MB / 1.429 GB, free: 7.703 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0009011/0.6339, allocations: 176 kB / 1.429 GB, free: 7.531 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00492/0.6388, allocations: 1.486 MB / 1.431 GB, free: 6.043 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.6398, allocations: 406.4 kB / 1.431 GB, free: 5.645 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003009/0.6428, allocations: 0.9216 MB / 1.432 GB, free: 4.719 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009246/0.6521, allocations: 3.15 MB / 1.435 GB, free: 1.559 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.6521, allocations: 4 kB / 1.435 GB, free: 1.555 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.097e-06/0.6521, allocations: 0 / 1.435 GB, free: 1.555 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001922/0.6523, allocations: 0 / 1.435 GB, free: 1.555 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.009422/0.6617, allocations: 2.015 MB / 1.437 GB, free: 15.49 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/0.6618, allocations: 12.03 kB / 1.437 GB, free: 15.48 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.6645, allocations: 455.4 kB / 1.438 GB, free: 15.04 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/0.6688, allocations: 1.518 MB / 1.439 GB, free: 13.47 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/0.6689, allocations: 82.03 kB / 1.439 GB, free: 13.39 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.6691, allocations: 104 kB / 1.439 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.6719, allocations: 1.321 MB / 1.441 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.6719, allocations: 7.938 kB / 1.441 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/0.672, allocations: 43.94 kB / 1.441 GB, free: 11.8 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.6721, allocations: 28 kB / 1.441 GB, free: 11.78 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.6747, allocations: 1.105 MB / 1.442 GB, free: 10.67 MB / 1.139 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.0114/0.6861, allocations: 7.387 MB / 1.449 GB, free: 2.793 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.6894, allocations: 0.772 MB / 1.45 GB, free: 2.012 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.6901, allocations: 262 kB / 1.45 GB, free: 1.75 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.6907, allocations: 164.3 kB / 1.45 GB, free: 1.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.6907, allocations: 35 kB / 1.45 GB, free: 1.547 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.416e-06/0.6907, allocations: 0 / 1.45 GB, free: 1.547 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005149/0.6959, allocations: 1.268 MB / 1.451 GB, free: 280 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.6959, allocations: 59.84 kB / 1.451 GB, free: 204 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.6997, allocations: 1.554 MB / 1.453 GB, free: 14.64 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.6999, allocations: 41.7 kB / 1.453 GB, free: 14.59 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008517/0.7007, allocations: 0.6819 MB / 1.454 GB, free: 13.9 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.701, allocations: 174.5 kB / 1.454 GB, free: 13.73 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.7014, allocations: 174.5 kB / 1.454 GB, free: 13.55 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.7016, allocations: 337.9 kB / 1.454 GB, free: 13.22 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.7026, allocations: 361.8 kB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.704, allocations: 0.6699 MB / 1.455 GB, free: 12.07 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.706, allocations: 0.8896 MB / 1.456 GB, free: 11.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.706, allocations: 3.938 kB / 1.456 GB, free: 11.07 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00347/0.7095, allocations: 1.193 MB / 1.457 GB, free: 9.863 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.7095, allocations: 8 kB / 1.457 GB, free: 9.855 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.7095, allocations: 8 kB / 1.457 GB, free: 9.848 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.7105, allocations: 224.6 kB / 1.458 GB, free: 9.625 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.7113, allocations: 191.7 kB / 1.458 GB, free: 9.438 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.7124, allocations: 0.724 MB / 1.458 GB, free: 8.688 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.7142, allocations: 219 kB / 1.459 GB, free: 8.473 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.7143, allocations: 39.98 kB / 1.459 GB, free: 8.434 MB / 1.154 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.0008277/0.7151, allocations: 357.6 kB / 1.459 GB, free: 8.074 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004815/0.7156, allocations: 155 kB / 1.459 GB, free: 7.922 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.7185, allocations: 1.156 MB / 1.46 GB, free: 6.746 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/0.7186, allocations: 8 kB / 1.46 GB, free: 6.738 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.7186, allocations: 4 kB / 1.46 GB, free: 6.734 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7186, allocations: 7.922 kB / 1.46 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/0.7254, allocations: 2.507 MB / 1.463 GB, free: 4.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.7254, allocations: 4 kB / 1.463 GB, free: 4.141 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.7258, allocations: 84.08 kB / 1.463 GB, free: 4.059 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/0.7266, allocations: 208.6 kB / 1.463 GB, free: 3.852 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.7267, allocations: 19.98 kB / 1.463 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.7281, allocations: 0.7747 MB / 1.464 GB, free: 3.031 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.7281, allocations: 4.031 kB / 1.464 GB, free: 3.027 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/0.7319, allocations: 1.215 MB / 1.465 GB, free: 1.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009441/0.7328, allocations: 290.6 kB / 1.465 GB, free: 1.488 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/0.7333, allocations: 12 kB / 1.465 GB, free: 1.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.7344, allocations: 71.91 kB / 1.465 GB, free: 1.406 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.7345, allocations: 44.42 kB / 1.465 GB, free: 1.363 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.7346, allocations: 23.98 kB / 1.465 GB, free: 1.34 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002505/0.7371, allocations: 1.094 MB / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.7371, allocations: 0 / 1.467 GB, free: 256 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.002004/0.7391, allocations: 451.1 kB / 1.467 GB, free: 15.81 MB / 1.17 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.001123/0.7402, allocations: 458.1 kB / 1.467 GB, free: 15.35 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002481/0.7427, allocations: 0.8325 MB / 1.468 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7427, allocations: 0 / 1.468 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7441, allocations: 423.4 kB / 1.469 GB, free: 14.11 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/0.7478, allocations: 0.7439 MB / 1.469 GB, free: 13.38 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/0.7535, allocations: 2.314 MB / 1.472 GB, free: 11.01 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.7546, allocations: 1.176 MB / 1.473 GB, free: 9.805 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001292/0.7559, allocations: 276 kB / 1.473 GB, free: 9.531 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.7563, allocations: 115.4 kB / 1.473 GB, free: 9.418 MB / 1.17 GB Notification: Performance of SimCode: time 2.164e-06/0.7563, allocations: 0 / 1.473 GB, free: 9.418 MB / 1.17 GB Notification: Performance of Templates: time 0.06858/0.8249, allocations: 32.51 MB / 1.505 GB, free: 9.27 MB / 1.201 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.647970607038587]