Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000855/0.000855, 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.0008554/0.0008554, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.9215/0.9215, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.737/1.737, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.968e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4996/0.4996, allocations: 64.61 MB / 1.064 GB, free: 54.38 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.5111, allocations: 17.51 MB / 1.081 GB, free: 43.75 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.5124, allocations: 95.41 kB / 1.081 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.5135, allocations: 0.8311 MB / 1.082 GB, free: 43.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.5171, allocations: 3.084 MB / 1.085 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.5191, allocations: 1.761 MB / 1.087 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002135/0.5212, allocations: 4.031 MB / 1.091 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007858/0.522, allocations: 1.096 MB / 1.092 GB, free: 37.59 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.5247, allocations: 2.536 MB / 1.094 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009755/0.5257, allocations: 1.014 MB / 1.095 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.5259, allocations: 174.6 kB / 1.095 GB, free: 35.94 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.5274, allocations: 1.168 MB / 1.096 GB, free: 35.58 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.5276, allocations: 410.3 kB / 1.097 GB, free: 35.29 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004696/0.5281, allocations: 0.6014 MB / 1.097 GB, free: 35.01 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.531, allocations: 3.148 MB / 1.101 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.531, allocations: 0.7031 kB / 1.101 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.531, allocations: 0 / 1.101 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.531, allocations: 0 / 1.101 GB, free: 33.86 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.002139/0.5331, allocations: 1.988 MB / 1.102 GB, free: 32.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5332, allocations: 13.53 kB / 1.103 GB, free: 32.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.5343, allocations: 459.7 kB / 1.103 GB, free: 32.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.5361, allocations: 1.511 MB / 1.104 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.5361, allocations: 82.16 kB / 1.104 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5362, allocations: 102.4 kB / 1.105 GB, free: 31.43 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.5378, allocations: 1.416 MB / 1.106 GB, free: 30.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.5378, allocations: 1.578 kB / 1.106 GB, free: 30.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.5379, allocations: 44.59 kB / 1.106 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.5379, allocations: 28.72 kB / 1.106 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.5395, allocations: 1.1 MB / 1.107 GB, free: 30.16 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.004239/0.5437, allocations: 5.378 MB / 1.112 GB, free: 26.34 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.5454, allocations: 0.7738 MB / 1.113 GB, free: 26.09 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.5457, allocations: 265.8 kB / 1.113 GB, free: 25.99 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.546, allocations: 159.1 kB / 1.114 GB, free: 25.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.546, allocations: 38.97 kB / 1.114 GB, free: 25.91 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.546, allocations: 0 / 1.114 GB, free: 25.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002548/0.5486, allocations: 1.24 MB / 1.115 GB, free: 25.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.5486, allocations: 57.69 kB / 1.115 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.5499, allocations: 1.227 MB / 1.116 GB, free: 24.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.5499, allocations: 38.11 kB / 1.116 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.5502, allocations: 0.7035 MB / 1.117 GB, free: 24.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.5503, allocations: 178.3 kB / 1.117 GB, free: 24.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.5505, allocations: 172.8 kB / 1.117 GB, free: 24.11 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.5505, allocations: 339.7 kB / 1.117 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000556/0.5511, allocations: 362 kB / 1.118 GB, free: 23.67 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/0.5518, allocations: 0.9914 MB / 1.119 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.5528, allocations: 0.8813 MB / 1.12 GB, free: 22.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5528, allocations: 2.25 kB / 1.12 GB, free: 22.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001631/0.5544, allocations: 1.17 MB / 1.121 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5545, allocations: 9.141 kB / 1.121 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5545, allocations: 8.531 kB / 1.121 GB, free: 21.74 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.555, allocations: 217.6 kB / 1.121 GB, free: 21.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000414/0.5554, allocations: 197.7 kB / 1.121 GB, free: 21.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004546/0.5559, allocations: 0.7155 MB / 1.122 GB, free: 21.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.5566, allocations: 169.6 kB / 1.122 GB, free: 21.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.5566, allocations: 45.31 kB / 1.122 GB, free: 21 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.0003424/0.557, allocations: 370 kB / 1.122 GB, free: 20.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5571, allocations: 126.9 kB / 1.123 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.5587, allocations: 1.125 MB / 1.124 GB, free: 20.23 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.5587, allocations: 12.27 kB / 1.124 GB, free: 20.22 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5587, allocations: 1.781 kB / 1.124 GB, free: 20.22 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5587, allocations: 2.766 kB / 1.124 GB, free: 20.22 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.5621, allocations: 2.184 MB / 1.126 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5621, allocations: 1.562 kB / 1.126 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.5623, allocations: 92.28 kB / 1.126 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.5627, allocations: 215.2 kB / 1.126 GB, free: 19.13 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.5628, allocations: 16.02 kB / 1.126 GB, free: 19.12 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006323/0.5634, allocations: 0.78 MB / 1.127 GB, free: 18.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5634, allocations: 1.656 kB / 1.127 GB, free: 18.51 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.5653, allocations: 1.186 MB / 1.128 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.5656, allocations: 238.9 kB / 1.128 GB, free: 17.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.5657, allocations: 20.73 kB / 1.128 GB, free: 17.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.5661, allocations: 66.44 kB / 1.128 GB, free: 17.81 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/0.5662, allocations: 49.55 kB / 1.128 GB, free: 17.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.5662, allocations: 24.81 kB / 1.128 GB, free: 17.79 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000934/0.5671, allocations: 0.8502 MB / 1.129 GB, free: 17.44 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5671, allocations: 0 / 1.129 GB, free: 17.44 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001154/0.5683, allocations: 482.4 kB / 1.13 GB, free: 17.31 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.0006513/0.5689, allocations: 475.7 kB / 1.13 GB, free: 17.08 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.5703, allocations: 0.826 MB / 1.131 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5703, allocations: 320 / 1.131 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/0.571, allocations: 432.2 kB / 1.131 GB, free: 16.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.5722, allocations: 453.9 kB / 1.132 GB, free: 16.54 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.575, allocations: 2.264 MB / 1.134 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.5756, allocations: 0.5692 MB / 1.135 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.5758, allocations: 107.3 kB / 1.135 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of SimCode: time 9.32e-07/0.5758, allocations: 4.75 kB / 1.135 GB, free: 15.14 MB / 0.9948 GB Notification: Performance of Templates: time 0.03225/0.608, allocations: 31.48 MB / 1.165 GB, free: 3.578 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.148131892085075]