Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.691/2.691, allocations: 443.5 MB / 0.7304 GB, free: 14.07 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 75.88 kB / 1.059 GB, free: 420 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4213, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.9898/1.411, allocations: 71.69 MB / 1.286 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03087/1.442, allocations: 19.09 MB / 1.305 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004405/1.446, allocations: 67.16 kB / 1.305 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003259/1.45, allocations: 0.8465 MB / 1.306 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/1.461, allocations: 3.008 MB / 1.309 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006303/1.468, allocations: 1.682 MB / 1.31 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009062/1.477, allocations: 4.05 MB / 1.314 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003021/1.48, allocations: 1.146 MB / 1.315 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007108/1.487, allocations: 1.817 MB / 1.317 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004147/1.491, allocations: 1.229 MB / 1.318 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005981/1.492, allocations: 175.6 kB / 1.318 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/1.497, allocations: 1.45 MB / 1.32 GB, free: 240 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006654/1.498, allocations: 395.7 kB / 1.32 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002549/1.501, allocations: 0.9213 MB / 1.321 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01086/1.511, allocations: 3.116 MB / 1.324 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.511, allocations: 0 / 1.324 GB, free: 14.19 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/1.511, allocations: 0 / 1.324 GB, free: 14.19 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.324e-05/1.512, allocations: 0 / 1.324 GB, free: 14.19 MB / 1.014 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.005952/1.518, allocations: 2.088 MB / 1.326 GB, free: 12.76 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.518, allocations: 9.406 kB / 1.326 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/1.52, allocations: 459.7 kB / 1.327 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004183/1.525, allocations: 1.559 MB / 1.328 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/1.525, allocations: 81.72 kB / 1.328 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/1.525, allocations: 107.5 kB / 1.328 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/1.528, allocations: 1.319 MB / 1.33 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.528, allocations: 2.594 kB / 1.33 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/1.529, allocations: 46.47 kB / 1.33 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/1.529, allocations: 26.66 kB / 1.33 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/1.533, allocations: 1.096 MB / 1.331 GB, free: 10.46 MB / 1.014 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.01316/1.546, allocations: 7.501 MB / 1.338 GB, free: 4.523 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003268/1.549, allocations: 0.7719 MB / 1.339 GB, free: 4.277 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006818/1.55, allocations: 264.7 kB / 1.339 GB, free: 4.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001728/1.551, allocations: 1.725 MB / 1.341 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/1.551, allocations: 41.47 kB / 1.341 GB, free: 2.137 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/1.551, allocations: 0 / 1.341 GB, free: 2.137 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.005304/1.557, allocations: 1.337 MB / 1.342 GB, free: 1.633 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.557, allocations: 61.16 kB / 1.342 GB, free: 1.566 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/1.56, allocations: 1.549 MB / 1.344 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/1.56, allocations: 41.83 kB / 1.344 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007297/1.561, allocations: 0.6831 MB / 1.344 GB, free: 356 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/1.561, allocations: 179.2 kB / 1.345 GB, free: 212 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/1.561, allocations: 177.1 kB / 1.345 GB, free: 124 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.561, allocations: 331.7 kB / 1.345 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.562, allocations: 365 kB / 1.345 GB, free: 15.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/1.564, allocations: 0.6619 MB / 1.346 GB, free: 15.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/1.566, allocations: 0.8862 MB / 1.347 GB, free: 14.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.566, allocations: 5.906 kB / 1.347 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003694/1.569, allocations: 1.2 MB / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/1.569, allocations: 12.72 kB / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.57, allocations: 8.281 kB / 1.348 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/1.571, allocations: 217.5 kB / 1.348 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008022/1.571, allocations: 194.7 kB / 1.349 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/1.572, allocations: 0.7292 MB / 1.349 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/1.575, allocations: 214.1 kB / 1.349 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/1.575, allocations: 45.84 kB / 1.35 GB, free: 13.34 MB / 1.029 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.001047/1.576, allocations: 354.8 kB / 1.35 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/1.576, allocations: 153.9 kB / 1.35 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/1.579, allocations: 1.14 MB / 1.351 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.007e-05/1.579, allocations: 7.75 kB / 1.351 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.579, allocations: 4 kB / 1.351 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.579, allocations: 2.953 kB / 1.351 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/1.585, allocations: 2.502 MB / 1.354 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.585, allocations: 3.062 kB / 1.354 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/1.586, allocations: 90.31 kB / 1.354 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00086/1.587, allocations: 207 kB / 1.354 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/1.587, allocations: 13.81 kB / 1.354 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.588, allocations: 0.7736 MB / 1.355 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/1.588, allocations: 12.7 kB / 1.355 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/1.592, allocations: 1.204 MB / 1.356 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.593, allocations: 358.6 kB / 1.356 GB, free: 8.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/1.594, allocations: 13.53 kB / 1.356 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009505/1.595, allocations: 76.72 kB / 1.356 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.595, allocations: 35.64 kB / 1.356 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/1.595, allocations: 25.33 kB / 1.356 GB, free: 8.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002251/1.597, allocations: 1.087 MB / 1.357 GB, free: 8.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.597, allocations: 4.188 kB / 1.357 GB, free: 8.262 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002175/1.599, allocations: 447.3 kB / 1.358 GB, free: 8.156 MB / 1.029 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.001332/1.6, allocations: 498.7 kB / 1.358 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003195/1.604, allocations: 0.823 MB / 1.359 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.604, allocations: 2.031 kB / 1.359 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/1.606, allocations: 419 kB / 1.359 GB, free: 7.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.611, allocations: 0.7377 MB / 1.36 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/1.617, allocations: 2.317 MB / 1.362 GB, free: 5.488 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.619, allocations: 1.169 MB / 1.364 GB, free: 4.574 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001799/1.62, allocations: 270.2 kB / 1.364 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/1.621, allocations: 115.5 kB / 1.364 GB, free: 4.414 MB / 1.029 GB Notification: Performance of SimCode: time 1.373e-06/1.621, allocations: 0 / 1.364 GB, free: 4.414 MB / 1.029 GB Notification: Performance of Templates: time 0.09111/1.712, allocations: 32.25 MB / 1.395 GB, free: 11.62 MB / 1.061 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.975391049869359]