Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001455/0.001455, allocations: 84.41 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001789/0.001789, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.905/2.905, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.081e-06, allocations: 4 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.801e-05/4.409e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09016/0.09021, allocations: 64.57 MB / 0.8494 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03712/0.1273, allocations: 17.54 MB / 0.8666 GB, free: 10.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005079/0.1324, allocations: 95.19 kB / 0.8666 GB, free: 10.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003907/0.1363, allocations: 0.8382 MB / 0.8675 GB, free: 9.559 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01226/0.1486, allocations: 3.113 MB / 0.8705 GB, free: 6.43 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006319/0.1549, allocations: 1.768 MB / 0.8722 GB, free: 4.66 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008773/0.1637, allocations: 4.103 MB / 0.8762 GB, free: 0.543 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003468/0.1671, allocations: 1.177 MB / 0.8774 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008657/0.1758, allocations: 2.438 MB / 0.8798 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.179, allocations: 1.04 MB / 0.8808 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0007455/0.1797, allocations: 176 kB / 0.881 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.1841, allocations: 1.173 MB / 0.8821 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.1853, allocations: 410.4 kB / 0.8825 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003151/0.1885, allocations: 0.6001 MB / 0.8831 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009107/0.1976, allocations: 3.151 MB / 0.8862 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1976, allocations: 0 / 0.8862 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1976, allocations: 0 / 0.8862 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001177/0.1977, allocations: 0 / 0.8862 GB, free: 6.34 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.007388/0.2051, allocations: 1.996 MB / 0.8881 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.458e-05/0.2052, allocations: 12.03 kB / 0.8881 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/0.2083, allocations: 0.5306 MB / 0.8886 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/0.2125, allocations: 1.664 MB / 0.8903 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.2126, allocations: 78.03 kB / 0.8903 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.2129, allocations: 108 kB / 0.8904 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.2162, allocations: 1.417 MB / 0.8918 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.2162, allocations: 4 kB / 0.8918 GB, free: 312 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.2163, allocations: 44 kB / 0.8919 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/0.2164, allocations: 28 kB / 0.8919 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.2194, allocations: 1.101 MB / 0.893 GB, free: 15.13 MB / 0.8542 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.009847/0.2292, allocations: 5.437 MB / 0.8983 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003529/0.2327, allocations: 0.7843 MB / 0.899 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.2334, allocations: 258.2 kB / 0.8993 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006275/0.2341, allocations: 168.4 kB / 0.8994 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.2341, allocations: 39.05 kB / 0.8995 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 3.095e-06/0.2341, allocations: 0 / 0.8995 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.005301/0.2394, allocations: 1.254 MB / 0.9007 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.2395, allocations: 55.91 kB / 0.9008 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.2422, allocations: 1.24 MB / 0.902 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.145e-05/0.2423, allocations: 37.7 kB / 0.902 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008317/0.2431, allocations: 0.7033 MB / 0.9027 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.2433, allocations: 174.5 kB / 0.9029 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/0.2437, allocations: 170.5 kB / 0.903 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.2439, allocations: 333.9 kB / 0.9033 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2452, allocations: 369.8 kB / 0.9037 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.2471, allocations: 0.996 MB / 0.9047 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.2493, allocations: 0.8821 MB / 0.9055 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.2493, allocations: 4 kB / 0.9055 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003707/0.253, allocations: 1.208 MB / 0.9067 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.2531, allocations: 8 kB / 0.9067 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.2531, allocations: 12.03 kB / 0.9067 GB, free: 500 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.2542, allocations: 212.6 kB / 0.9069 GB, free: 284 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.255, allocations: 195.7 kB / 0.9071 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.2562, allocations: 0.724 MB / 0.9078 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.2579, allocations: 167.4 kB / 0.908 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.2581, allocations: 47.91 kB / 0.908 GB, free: 15.12 MB / 0.8698 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.0009306/0.259, allocations: 357.6 kB / 0.9084 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/0.2595, allocations: 143.2 kB / 0.9085 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.2625, allocations: 1.134 MB / 0.9096 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.2625, allocations: 11.98 kB / 0.9096 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2625, allocations: 3.938 kB / 0.9096 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.2625, allocations: 3.984 kB / 0.9096 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006606/0.2691, allocations: 2.185 MB / 0.9118 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.2691, allocations: 0 / 0.9118 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.2695, allocations: 92 kB / 0.9119 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009054/0.2704, allocations: 216.5 kB / 0.9121 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.019e-05/0.2705, allocations: 16 kB / 0.9121 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.272, allocations: 0.7786 MB / 0.9128 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.272, allocations: 0 / 0.9128 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004014/0.2761, allocations: 1.205 MB / 0.914 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007288/0.2768, allocations: 246.9 kB / 0.9143 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.2771, allocations: 12 kB / 0.9143 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.2781, allocations: 67.92 kB / 0.9143 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.2783, allocations: 56.3 kB / 0.9144 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.2784, allocations: 23.98 kB / 0.9144 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002339/0.2807, allocations: 0.8553 MB / 0.9152 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.2807, allocations: 0 / 0.9152 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002408/0.2831, allocations: 482.7 kB / 0.9157 GB, free: 7.121 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.001253/0.2844, allocations: 479.7 kB / 0.9162 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002711/0.2871, allocations: 0.825 MB / 0.917 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/0.2871, allocations: 5.125 kB / 0.917 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.2886, allocations: 432.1 kB / 0.9174 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/0.2915, allocations: 483.7 kB / 0.9178 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.2975, allocations: 2.29 MB / 0.9201 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.2987, allocations: 0.5864 MB / 0.9207 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001143/0.2998, allocations: 229.4 kB / 0.9209 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.3002, allocations: 104.4 kB / 0.921 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/0.3002, allocations: 0 / 0.921 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of Templates: time 0.05312/0.3533, allocations: 25.1 MB / 0.9455 GB, free: 9.012 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.472610382013954]