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.001068/0.001068, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001611/0.002679, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007374/0.0007374, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009843/0.001722, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9732/0.9732, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09027/1.063, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 378.3 MB / 0.6079 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.49/2.306, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7297 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.101e-05, allocations: 4.641 kB / 0.7297 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01853/0.01855, allocations: 18.58 MB / 0.7478 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.02891, allocations: 7.714 MB / 0.7553 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.03059, allocations: 95.19 kB / 0.7554 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009611/0.03155, allocations: 448.5 kB / 0.7559 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.03472, allocations: 1.726 MB / 0.7575 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.03751, allocations: 1.658 MB / 0.7592 GB, free: 6.266 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.04133, allocations: 3.969 MB / 0.763 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001729/0.04306, allocations: 1.205 MB / 0.7642 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.04565, allocations: 2.085 MB / 0.7662 GB, free: 14.95 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.04666, allocations: 0.9361 MB / 0.7672 GB, free: 14.02 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.04683, allocations: 172 kB / 0.7673 GB, free: 13.85 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.04784, allocations: 0.6721 MB / 0.768 GB, free: 13.18 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.04806, allocations: 326.8 kB / 0.7683 GB, free: 12.86 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0004864/0.04855, allocations: 0.5107 MB / 0.7688 GB, free: 12.34 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.001668/0.05022, allocations: 1.519 MB / 0.7703 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.05023, allocations: 0 / 0.7703 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.603e-06/0.05023, allocations: 0 / 0.7703 GB, free: 10.82 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.05025, allocations: 4.719 kB / 0.7703 GB, free: 10.82 MB / 0.7449 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.002212/0.05246, allocations: 2.327 MB / 0.7726 GB, free: 8.434 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.05249, allocations: 12.03 kB / 0.7726 GB, free: 8.422 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.05359, allocations: 403.7 kB / 0.7729 GB, free: 8.035 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.05505, allocations: 0.9745 MB / 0.7739 GB, free: 7.016 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/0.0551, allocations: 78.91 kB / 0.774 GB, free: 6.938 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.05518, allocations: 108 kB / 0.7741 GB, free: 6.832 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009463/0.05613, allocations: 0.9867 MB / 0.775 GB, free: 5.715 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.05615, allocations: 7.938 kB / 0.775 GB, free: 5.707 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.05621, allocations: 40 kB / 0.7751 GB, free: 5.668 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.05623, allocations: 32.55 kB / 0.7751 GB, free: 5.637 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.05673, allocations: 356.6 kB / 0.7755 GB, free: 5.293 MB / 0.7449 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.003459/0.06019, allocations: 4.258 MB / 0.7796 GB, free: 0.9102 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007237/0.06091, allocations: 423.5 kB / 0.78 GB, free: 500 kB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.06102, allocations: 93.12 kB / 0.7801 GB, free: 404 kB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.06115, allocations: 60.47 kB / 0.7802 GB, free: 344 kB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.06117, allocations: 45.17 kB / 0.7802 GB, free: 292 kB / 0.7449 GB Notification: Performance of pre-optimization done (n=48): time 2.925e-06/0.06118, allocations: 0 / 0.7802 GB, free: 292 kB / 0.7449 GB Notification: Performance of matching and sorting (n=48): time 0.001214/0.06239, allocations: 0.5617 MB / 0.7808 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.06242, allocations: 59.89 kB / 0.7808 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/0.06319, allocations: 0.9551 MB / 0.7817 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.06322, allocations: 37.7 kB / 0.7818 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.06347, allocations: 0.5436 MB / 0.7823 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.06356, allocations: 182.5 kB / 0.7825 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.06372, allocations: 174.4 kB / 0.7827 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.0638, allocations: 337.9 kB / 0.783 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.06397, allocations: 100.7 kB / 0.7831 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.06435, allocations: 0.7244 MB / 0.7838 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.06476, allocations: 0.5039 MB / 0.7843 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.06476, allocations: 5.125 kB / 0.7843 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005958/0.06536, allocations: 0.4993 MB / 0.7848 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.06538, allocations: 12.59 kB / 0.7848 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.06539, allocations: 8.688 kB / 0.7848 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.0658, allocations: 176.5 kB / 0.785 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.06618, allocations: 207.7 kB / 0.7852 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003684/0.06655, allocations: 0.5835 MB / 0.7857 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.06703, allocations: 135.4 kB / 0.7858 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.06709, allocations: 31.98 kB / 0.7859 GB, free: 10.09 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0002205/0.06731, allocations: 172.3 kB / 0.786 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.0674, allocations: 79.91 kB / 0.7861 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000738/0.06814, allocations: 0.6376 MB / 0.7867 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.06815, allocations: 11.94 kB / 0.7868 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.06815, allocations: 3.938 kB / 0.7868 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.06816, allocations: 3.984 kB / 0.7868 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.06974, allocations: 1.296 MB / 0.788 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.06975, allocations: 0 / 0.788 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.06994, allocations: 87.89 kB / 0.7881 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.07015, allocations: 166.9 kB / 0.7883 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/0.07052, allocations: 168.8 kB / 0.7884 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.07054, allocations: 12 kB / 0.7884 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004236/0.07096, allocations: 0.6108 MB / 0.789 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.07097, allocations: 4 kB / 0.789 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.07179, allocations: 0.6607 MB / 0.7897 GB, free: 6.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/0.07187, allocations: 8 kB / 0.7897 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.07214, allocations: 39.97 kB / 0.7897 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.0722, allocations: 48.36 kB / 0.7898 GB, free: 5.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.07224, allocations: 27.95 kB / 0.7898 GB, free: 5.918 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003911/0.07263, allocations: 482.9 kB / 0.7903 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.07263, allocations: 0 / 0.7903 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007476/0.07338, allocations: 399 kB / 0.7906 GB, free: 5.051 MB / 0.7605 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.0003219/0.0737, allocations: 213.8 kB / 0.7909 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006355/0.07433, allocations: 381.3 kB / 0.7912 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.681e-05/0.07436, allocations: 16.5 kB / 0.7912 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.07478, allocations: 268.8 kB / 0.7915 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.07692, allocations: 3.559 MB / 0.795 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006392/0.08331, allocations: 2.087 MB / 0.797 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.08348, allocations: 228.5 kB / 0.7972 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006255/0.0841, allocations: 197.5 kB / 0.7974 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/0.08478, allocations: 415 kB / 0.7978 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of SimCode: time 1.342e-06/0.08479, allocations: 0 / 0.7978 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.02812/0.1129, allocations: 24.46 MB / 0.8217 GB, free: 5.027 MB / 0.7917 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw/Buildings_12_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: 5.226393121294677]