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.001432/0.001432, allocations: 79.19 kB / 19.76 MB, free: 1.875 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.00183/0.00183, allocations: 163.2 kB / 23.01 MB, free: 4.598 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.879 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.745/2.745, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 59.91 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3967, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.8757/1.272, allocations: 65.08 MB / 1.181 GB, free: 20.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02299/1.295, allocations: 17.56 MB / 1.198 GB, free: 8.375 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/1.299, allocations: 99.69 kB / 1.198 GB, free: 8.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/1.301, allocations: 0.8225 MB / 1.199 GB, free: 7.801 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009068/1.31, allocations: 3.038 MB / 1.202 GB, free: 6.039 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004811/1.315, allocations: 1.695 MB / 1.204 GB, free: 5.062 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006998/1.322, allocations: 4.066 MB / 1.208 GB, free: 2.988 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/1.324, allocations: 1.123 MB / 1.209 GB, free: 2.371 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004734/1.329, allocations: 1.879 MB / 1.211 GB, free: 1.422 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/1.331, allocations: 1.167 MB / 1.212 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003226/1.331, allocations: 175.1 kB / 1.212 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/1.335, allocations: 1.152 MB / 1.213 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/1.336, allocations: 402.1 kB / 1.213 GB, free: 304 kB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008934/1.336, allocations: 0.7171 MB / 1.214 GB, free: 15.9 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/1.342, allocations: 3.089 MB / 1.217 GB, free: 14.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.342, allocations: 1.469 kB / 1.217 GB, free: 14.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.455e-06/1.342, allocations: 0 / 1.217 GB, free: 14.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.105e-05/1.342, allocations: 0 / 1.217 GB, free: 14.75 MB / 1.092 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.004513/1.346, allocations: 2.012 MB / 1.219 GB, free: 13.42 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.346, allocations: 10 kB / 1.219 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/1.349, allocations: 453.7 kB / 1.22 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/1.352, allocations: 1.513 MB / 1.221 GB, free: 12.38 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-05/1.352, allocations: 77.38 kB / 1.221 GB, free: 12.34 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/1.352, allocations: 107.4 kB / 1.221 GB, free: 12.31 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00304/1.355, allocations: 1.419 MB / 1.223 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/1.355, allocations: 6.438 kB / 1.223 GB, free: 11.48 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/1.356, allocations: 43.19 kB / 1.223 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/1.356, allocations: 25.69 kB / 1.223 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/1.359, allocations: 1.096 MB / 1.224 GB, free: 11.05 MB / 1.092 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.009054/1.368, allocations: 5.403 MB / 1.229 GB, free: 7.191 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/1.371, allocations: 0.7691 MB / 1.23 GB, free: 6.941 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/1.372, allocations: 265.3 kB / 1.23 GB, free: 6.844 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/1.372, allocations: 161.2 kB / 1.23 GB, free: 6.809 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/1.372, allocations: 37.89 kB / 1.23 GB, free: 6.766 MB / 1.092 GB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/1.372, allocations: 0 / 1.23 GB, free: 6.766 MB / 1.092 GB Notification: Performance of matching and sorting (n=48): time 0.005187/1.377, allocations: 1.245 MB / 1.231 GB, free: 6.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.377, allocations: 57.5 kB / 1.231 GB, free: 6.301 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/1.38, allocations: 1.219 MB / 1.233 GB, free: 5.793 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.799e-05/1.38, allocations: 39.05 kB / 1.233 GB, free: 5.754 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007844/1.381, allocations: 0.7091 MB / 1.233 GB, free: 5.191 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/1.381, allocations: 180 kB / 1.234 GB, free: 5.051 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/1.381, allocations: 174.7 kB / 1.234 GB, free: 4.965 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001873/1.381, allocations: 334.1 kB / 1.234 GB, free: 4.648 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/1.382, allocations: 368.5 kB / 1.234 GB, free: 4.523 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/1.384, allocations: 0.9864 MB / 1.235 GB, free: 3.633 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.386, allocations: 0.8851 MB / 1.236 GB, free: 3.059 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.386, allocations: 2.375 kB / 1.236 GB, free: 3.059 MB / 1.092 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003207/1.39, allocations: 1.17 MB / 1.237 GB, free: 2.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.39, allocations: 9.344 kB / 1.237 GB, free: 2.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.39, allocations: 6.469 kB / 1.237 GB, free: 2.59 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.391, allocations: 223.3 kB / 1.238 GB, free: 2.535 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/1.391, allocations: 191.9 kB / 1.238 GB, free: 2.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/1.392, allocations: 0.7235 MB / 1.238 GB, free: 1.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/1.394, allocations: 170.5 kB / 1.239 GB, free: 1.855 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/1.394, allocations: 42.36 kB / 1.239 GB, free: 1.852 MB / 1.092 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.0006416/1.395, allocations: 360.7 kB / 1.239 GB, free: 1.586 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/1.395, allocations: 124.1 kB / 1.239 GB, free: 1.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/1.397, allocations: 1.14 MB / 1.24 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/1.397, allocations: 8.906 kB / 1.24 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.398, allocations: 0 / 1.24 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.398, allocations: 4.328 kB / 1.24 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005671/1.403, allocations: 2.179 MB / 1.242 GB, free: 60 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.403, allocations: 2.062 kB / 1.242 GB, free: 60 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/1.404, allocations: 95.83 kB / 1.242 GB, free: 40 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008314/1.404, allocations: 211 kB / 1.243 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/1.404, allocations: 17.02 kB / 1.243 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.406, allocations: 0.7714 MB / 1.243 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.406, allocations: 1.375 kB / 1.243 GB, free: 15.37 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/1.41, allocations: 1.194 MB / 1.245 GB, free: 14.83 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/1.41, allocations: 241.8 kB / 1.245 GB, free: 14.68 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.41, allocations: 13.81 kB / 1.245 GB, free: 14.67 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/1.411, allocations: 77 kB / 1.245 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.411, allocations: 40.98 kB / 1.245 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/1.411, allocations: 23.56 kB / 1.245 GB, free: 14.64 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001595/1.413, allocations: 0.8496 MB / 1.246 GB, free: 14.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.413, allocations: 0 / 1.246 GB, free: 14.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002319/1.415, allocations: 482.7 kB / 1.246 GB, free: 14.16 MB / 1.107 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.001197/1.417, allocations: 466.2 kB / 1.247 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002836/1.419, allocations: 0.8298 MB / 1.248 GB, free: 13.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.419, allocations: 1.188 kB / 1.248 GB, free: 13.66 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.421, allocations: 427.5 kB / 1.248 GB, free: 13.54 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/1.423, allocations: 466.8 kB / 1.248 GB, free: 13.4 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004505/1.428, allocations: 2.272 MB / 1.251 GB, free: 12.17 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/1.428, allocations: 0.583 MB / 1.251 GB, free: 12.02 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008274/1.429, allocations: 230.6 kB / 1.251 GB, free: 11.95 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/1.429, allocations: 96.05 kB / 1.251 GB, free: 11.93 MB / 1.107 GB Notification: Performance of SimCode: time 7.71e-07/1.429, allocations: 0 / 1.251 GB, free: 11.93 MB / 1.107 GB Notification: Performance of Templates: time 0.04868/1.478, allocations: 25.04 MB / 1.276 GB, free: 2.887 MB / 1.107 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 -s ida -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/jenkins1/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.455011915997602]