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.0007465/0.0007465, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009951/0.001742, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006725/0.0006725, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001698, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.057/1.057, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1155/1.173, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.527/2.527, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3384/2.866, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.454e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0141/0.01411, allocations: 18.73 MB / 0.8372 GB, free: 15.67 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.02609, allocations: 9.58 MB / 0.8466 GB, free: 6.07 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.02715, allocations: 99.19 kB / 0.8467 GB, free: 5.973 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.02787, allocations: 456.3 kB / 0.8471 GB, free: 5.523 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.0302, allocations: 1.748 MB / 0.8488 GB, free: 3.766 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.03312, allocations: 2.284 MB / 0.851 GB, free: 1.48 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002748/0.03587, allocations: 4.045 MB / 0.855 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.03711, allocations: 1.191 MB / 0.8562 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.03881, allocations: 2.128 MB / 0.8582 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008656/0.03967, allocations: 0.954 MB / 0.8592 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.03983, allocations: 176 kB / 0.8593 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000844/0.04067, allocations: 0.6824 MB / 0.86 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.0409, allocations: 330.8 kB / 0.8603 GB, free: 7.914 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004185/0.04132, allocations: 0.5341 MB / 0.8608 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.04281, allocations: 1.561 MB / 0.8624 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.04282, allocations: 4 kB / 0.8624 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.493e-06/0.04282, allocations: 0 / 0.8624 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.04284, allocations: 0 / 0.8624 GB, free: 5.809 MB / 0.8386 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.002148/0.04499, allocations: 2.413 MB / 0.8647 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.04503, allocations: 12.03 kB / 0.8647 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007973/0.04583, allocations: 391.5 kB / 0.8651 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.04702, allocations: 1.032 MB / 0.8661 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/0.04707, allocations: 82.03 kB / 0.8662 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.59e-05/0.04717, allocations: 112 kB / 0.8663 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009167/0.04809, allocations: 0.9786 MB / 0.8673 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.04811, allocations: 7.938 kB / 0.8673 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.04816, allocations: 44 kB / 0.8673 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.04818, allocations: 35.94 kB / 0.8673 GB, free: 472 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.04862, allocations: 360.3 kB / 0.8677 GB, free: 112 kB / 0.8386 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.00335/0.05197, allocations: 4.298 MB / 0.8719 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.05269, allocations: 422.4 kB / 0.8723 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.0528, allocations: 89.14 kB / 0.8724 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.05292, allocations: 68.44 kB / 0.8724 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.05295, allocations: 39.06 kB / 0.8725 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 1.924e-06/0.05295, allocations: 0 / 0.8725 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.00164/0.05459, allocations: 0.5726 MB / 0.873 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.05462, allocations: 55.91 kB / 0.8731 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.05566, allocations: 1.035 MB / 0.8741 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.05573, allocations: 37.7 kB / 0.8741 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.05605, allocations: 0.5652 MB / 0.8747 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.05616, allocations: 186.4 kB / 0.8749 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.05635, allocations: 194.5 kB / 0.875 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.05646, allocations: 345.9 kB / 0.8754 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.05666, allocations: 104.8 kB / 0.8755 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.05715, allocations: 0.8348 MB / 0.8763 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005628/0.05771, allocations: 0.6634 MB / 0.8769 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.05772, allocations: 4 kB / 0.8769 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.000824/0.05854, allocations: 0.6025 MB / 0.8775 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.05857, allocations: 12 kB / 0.8775 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.05858, allocations: 16.09 kB / 0.8776 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/0.05905, allocations: 168.7 kB / 0.8777 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.05949, allocations: 247.6 kB / 0.878 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004481/0.05994, allocations: 0.5912 MB / 0.8785 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.0605, allocations: 163.2 kB / 0.8787 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.06057, allocations: 43.98 kB / 0.8787 GB, free: 4.078 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0002533/0.06082, allocations: 176.3 kB / 0.8789 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.06093, allocations: 83.91 kB / 0.879 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/0.06173, allocations: 0.6382 MB / 0.8796 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.06174, allocations: 15.97 kB / 0.8796 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.06175, allocations: 0 / 0.8796 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.06175, allocations: 3.984 kB / 0.8796 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.06364, allocations: 1.32 MB / 0.8809 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.06365, allocations: 0 / 0.8809 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.06383, allocations: 83.89 kB / 0.881 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.06408, allocations: 174.9 kB / 0.8812 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/0.06447, allocations: 168.8 kB / 0.8813 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.0645, allocations: 15.98 kB / 0.8813 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004161/0.06492, allocations: 0.6108 MB / 0.8819 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.06492, allocations: 11.88 kB / 0.8819 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008989/0.06582, allocations: 0.6535 MB / 0.8826 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.06591, allocations: 19.89 kB / 0.8826 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.06621, allocations: 39.91 kB / 0.8826 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.06629, allocations: 44.42 kB / 0.8827 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.06634, allocations: 23.98 kB / 0.8827 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005519/0.06689, allocations: 0.502 MB / 0.8832 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.06689, allocations: 0 / 0.8832 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001343/0.06823, allocations: 407 kB / 0.8836 GB, free: 14.94 MB / 0.8698 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.0004052/0.06864, allocations: 205.9 kB / 0.8838 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006861/0.06932, allocations: 432.5 kB / 0.8842 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.041e-05/0.06935, allocations: 20.5 kB / 0.8842 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004335/0.06979, allocations: 268 kB / 0.8845 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.07204, allocations: 3.628 MB / 0.888 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006737/0.07877, allocations: 2.163 MB / 0.8901 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.07897, allocations: 244.7 kB / 0.8904 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007191/0.07969, allocations: 201.9 kB / 0.8905 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/0.08042, allocations: 423 kB / 0.8909 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of SimCode: time 3.056e-06/0.08042, allocations: 0 / 0.8909 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of Templates: time 0.03582/0.1162, allocations: 25.08 MB / 0.9154 GB, free: 14.09 MB / 0.9011 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.181668185628951]