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.0008558/0.0008558, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008655/0.0008655, allocations: 177.9 kB / 23.21 MB, free: 1.344 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 0.9069/0.9069, allocations: 177.1 MB / 203.5 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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 1.666/1.666, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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 1.463e-06/1.463e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.353e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.041/0.04103, allocations: 64.56 MB / 1.015 GB, free: 2.215 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.05785, allocations: 17.55 MB / 1.032 GB, free: 0.6172 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.05977, allocations: 99.12 kB / 1.032 GB, free: 0.5195 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.06145, allocations: 0.8382 MB / 1.033 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.06697, allocations: 3.112 MB / 1.036 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.06994, allocations: 1.767 MB / 1.038 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.07391, allocations: 4.103 MB / 1.042 GB, free: 6.676 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.07536, allocations: 1.145 MB / 1.043 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.07856, allocations: 2.426 MB / 1.045 GB, free: 3.066 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.0797, allocations: 1.044 MB / 1.046 GB, free: 2.02 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.07985, allocations: 172 kB / 1.046 GB, free: 1.852 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.08163, allocations: 1.173 MB / 1.047 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.08188, allocations: 402.4 kB / 1.048 GB, free: 288 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.4533/0.5352, allocations: 0.603 MB / 1.048 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.5381, allocations: 3.142 MB / 1.051 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5381, allocations: 3.438 kB / 1.051 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5381, allocations: 0 / 1.051 GB, free: 65.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.5382, allocations: 1.375 kB / 1.051 GB, free: 65.3 MB / 0.9948 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.00181/0.54, allocations: 1.999 MB / 1.053 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.54, allocations: 10.81 kB / 1.053 GB, free: 64.35 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.541, allocations: 461.2 kB / 1.054 GB, free: 64.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.5425, allocations: 1.526 MB / 1.055 GB, free: 63.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.5426, allocations: 81 kB / 1.055 GB, free: 63.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.5427, allocations: 106.1 kB / 1.056 GB, free: 63.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.544, allocations: 1.422 MB / 1.057 GB, free: 63.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.544, allocations: 6.531 kB / 1.057 GB, free: 63.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.544, allocations: 46.41 kB / 1.057 GB, free: 63.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5441, allocations: 25.53 kB / 1.057 GB, free: 63.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.5455, allocations: 1.095 MB / 1.058 GB, free: 63.48 MB / 0.9948 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.003651/0.5491, allocations: 5.394 MB / 1.063 GB, free: 60.97 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5509, allocations: 0.7726 MB / 1.064 GB, free: 60.94 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.5513, allocations: 268.8 kB / 1.064 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00033/0.5516, allocations: 159.9 kB / 1.064 GB, free: 60.93 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.5517, allocations: 40.88 kB / 1.065 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 3.016e-06/0.5517, allocations: 0 / 1.065 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002553/0.5542, allocations: 1.238 MB / 1.066 GB, free: 60.75 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.5542, allocations: 63 kB / 1.066 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.5556, allocations: 1.234 MB / 1.067 GB, free: 60.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.5556, allocations: 35.02 kB / 1.067 GB, free: 60.48 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.5559, allocations: 0.708 MB / 1.068 GB, free: 60.16 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.556, allocations: 177.8 kB / 1.068 GB, free: 60.05 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.5562, allocations: 173.9 kB / 1.068 GB, free: 60.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.5562, allocations: 336.1 kB / 1.068 GB, free: 59.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.5568, allocations: 365.2 kB / 1.069 GB, free: 59.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.5575, allocations: 0.9891 MB / 1.07 GB, free: 58.97 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009698/0.5584, allocations: 0.8861 MB / 1.071 GB, free: 58.67 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.5584, allocations: 2.906 kB / 1.071 GB, free: 58.67 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001649/0.5601, allocations: 1.164 MB / 1.072 GB, free: 58.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5601, allocations: 8.938 kB / 1.072 GB, free: 58.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5601, allocations: 8.688 kB / 1.072 GB, free: 58.54 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.5607, allocations: 227.4 kB / 1.072 GB, free: 58.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.5611, allocations: 195.7 kB / 1.072 GB, free: 58.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004602/0.5615, allocations: 0.7147 MB / 1.073 GB, free: 57.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.5622, allocations: 170.2 kB / 1.073 GB, free: 57.95 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.5623, allocations: 44.44 kB / 1.073 GB, free: 57.95 MB / 0.9948 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.0004344/0.5628, allocations: 366 kB / 1.073 GB, free: 57.82 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.5629, allocations: 125.8 kB / 1.073 GB, free: 57.75 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.5642, allocations: 1.131 MB / 1.075 GB, free: 57.64 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.5642, allocations: 17.25 kB / 1.075 GB, free: 57.64 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5642, allocations: 3 kB / 1.075 GB, free: 57.64 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.5642, allocations: 3.422 kB / 1.075 GB, free: 57.64 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.567, allocations: 2.179 MB / 1.077 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.567, allocations: 6 kB / 1.077 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.5672, allocations: 87.56 kB / 1.077 GB, free: 57.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.5676, allocations: 210.2 kB / 1.077 GB, free: 57.28 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.5676, allocations: 17.5 kB / 1.077 GB, free: 57.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006279/0.5683, allocations: 0.7744 MB / 1.078 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5683, allocations: 2.625 kB / 1.078 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.5699, allocations: 1.193 MB / 1.079 GB, free: 56.46 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.5702, allocations: 245 kB / 1.079 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.5703, allocations: 10.92 kB / 1.079 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.5707, allocations: 67.58 kB / 1.079 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.5708, allocations: 48.23 kB / 1.079 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-05/0.5708, allocations: 30.83 kB / 1.079 GB, free: 56.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008487/0.5717, allocations: 0.8557 MB / 1.08 GB, free: 56.26 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5717, allocations: 0 / 1.08 GB, free: 56.26 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001079/0.5727, allocations: 480.1 kB / 1.081 GB, free: 56.18 MB / 0.9948 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.0006247/0.5734, allocations: 475 kB / 1.081 GB, free: 56.02 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.5749, allocations: 0.8221 MB / 1.082 GB, free: 56 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5749, allocations: 0.6562 kB / 1.082 GB, free: 56 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008568/0.5757, allocations: 429 kB / 1.082 GB, free: 56 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.5771, allocations: 478.1 kB / 1.083 GB, free: 55.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.5803, allocations: 2.274 MB / 1.085 GB, free: 54.98 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.5808, allocations: 0.5778 MB / 1.086 GB, free: 54.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.5811, allocations: 108.9 kB / 1.086 GB, free: 54.84 MB / 0.9948 GB Notification: Performance of SimCode: time 1.162e-06/0.5811, allocations: 0 / 1.086 GB, free: 54.84 MB / 0.9948 GB Notification: Performance of Templates: time 0.04326/0.6244, allocations: 31.74 MB / 1.117 GB, free: 51.18 MB / 0.9948 GB " [Timeout remaining time 299] 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: 10.228532053530216]