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.001503/0.001503, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001736/0.001736, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.553/1.553, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.025/3.025, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.515e-06/2.515e-06, allocations: 0 / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.279e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07989/0.07992, allocations: 64.65 MB / 1.045 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03147/0.1114, allocations: 17.56 MB / 1.062 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005947/0.1173, allocations: 95.19 kB / 1.062 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004344/0.1217, allocations: 0.8342 MB / 1.063 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.1346, allocations: 3.093 MB / 1.066 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006255/0.1408, allocations: 1.769 MB / 1.067 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007508/0.1483, allocations: 4.094 MB / 1.071 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002564/0.1509, allocations: 1.137 MB / 1.072 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.1573, allocations: 2.556 MB / 1.075 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.1597, allocations: 1.013 MB / 1.076 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.1601, allocations: 176 kB / 1.076 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.1634, allocations: 1.161 MB / 1.077 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.1638, allocations: 418.3 kB / 1.078 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009942/0.1648, allocations: 0.604 MB / 1.078 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005481/0.1703, allocations: 3.151 MB / 1.081 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.1703, allocations: 0 / 1.081 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1703, allocations: 0 / 1.081 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001207/0.1704, allocations: 4 kB / 1.081 GB, free: 4.242 MB / 0.9825 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.0067/0.1771, allocations: 1.996 MB / 1.083 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.1772, allocations: 12.02 kB / 1.083 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.1797, allocations: 451.4 kB / 1.084 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003605/0.1833, allocations: 1.531 MB / 1.085 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.1834, allocations: 86.03 kB / 1.085 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.1836, allocations: 104.1 kB / 1.085 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.1871, allocations: 1.414 MB / 1.087 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.1872, allocations: 7.938 kB / 1.087 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.1873, allocations: 40 kB / 1.087 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.1873, allocations: 31.98 kB / 1.087 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.1904, allocations: 1.097 MB / 1.088 GB, free: 13.25 MB / 0.9981 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.009955/0.2003, allocations: 5.379 MB / 1.093 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003466/0.2038, allocations: 0.7751 MB / 1.094 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006726/0.2044, allocations: 270.1 kB / 1.094 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/0.205, allocations: 152.4 kB / 1.094 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.2051, allocations: 43.06 kB / 1.094 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=48): time 4.588e-06/0.2051, allocations: 4 kB / 1.094 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.005545/0.2106, allocations: 1.246 MB / 1.096 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.2107, allocations: 55.91 kB / 1.096 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.2133, allocations: 1.233 MB / 1.097 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.2134, allocations: 33.7 kB / 1.097 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007756/0.2142, allocations: 0.7188 MB / 1.098 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.2144, allocations: 174.5 kB / 1.098 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.2148, allocations: 166.5 kB / 1.098 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.215, allocations: 337.9 kB / 1.098 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.216, allocations: 365.8 kB / 1.099 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.2176, allocations: 0.9926 MB / 1.1 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7715/0.9892, allocations: 0.8768 MB / 1.1 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.218e-05/0.9892, allocations: 2.188 kB / 1.1 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003787/0.993, allocations: 1.175 MB / 1.102 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.993, allocations: 11.22 kB / 1.102 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.9931, allocations: 8.031 kB / 1.102 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9941, allocations: 221.2 kB / 1.102 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008791/0.995, allocations: 191 kB / 1.102 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008787/0.9959, allocations: 0.7156 MB / 1.103 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.9975, allocations: 177.7 kB / 1.103 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.9976, allocations: 41.05 kB / 1.103 GB, free: 127.1 MB / 0.9981 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.0007703/0.9984, allocations: 360.9 kB / 1.103 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.9987, allocations: 132 kB / 1.103 GB, free: 126.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/1.002, allocations: 1.126 MB / 1.104 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.52e-05/1.002, allocations: 11.55 kB / 1.104 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.002, allocations: 1.219 kB / 1.104 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.002, allocations: 3.797 kB / 1.104 GB, free: 126.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/1.008, allocations: 2.186 MB / 1.107 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.008, allocations: 2.688 kB / 1.107 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/1.008, allocations: 87.52 kB / 1.107 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008893/1.009, allocations: 211.4 kB / 1.107 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.223e-05/1.009, allocations: 18.8 kB / 1.107 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/1.011, allocations: 0.7747 MB / 1.108 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.011, allocations: 2.25 kB / 1.108 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/1.015, allocations: 1.184 MB / 1.109 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/1.015, allocations: 245.6 kB / 1.109 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/1.016, allocations: 14.38 kB / 1.109 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/1.017, allocations: 68.25 kB / 1.109 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.017, allocations: 39.86 kB / 1.109 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/1.017, allocations: 30.08 kB / 1.109 GB, free: 124.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002009/1.019, allocations: 0.8572 MB / 1.11 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.019, allocations: 0 / 1.11 GB, free: 123.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002106/1.021, allocations: 481.9 kB / 1.11 GB, free: 123.7 MB / 0.9981 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.001133/1.022, allocations: 477.5 kB / 1.111 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002515/1.025, allocations: 0.8292 MB / 1.112 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.025, allocations: 3.875 kB / 1.112 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.026, allocations: 423.6 kB / 1.112 GB, free: 123.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.028, allocations: 480.6 kB / 1.113 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/1.032, allocations: 2.254 MB / 1.115 GB, free: 121.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007851/1.033, allocations: 0.5882 MB / 1.115 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001024/1.034, allocations: 221.4 kB / 1.116 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/1.034, allocations: 98.56 kB / 1.116 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.353e-06/1.034, allocations: 4 kB / 1.116 GB, free: 121.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04963/1.084, allocations: 24.98 MB / 1.14 GB, free: 114.2 MB / 0.9981 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: 10.669850811362267]