Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001862/0.001862, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002009/0.002009, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.617/1.617, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.097/3.097, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0.9844 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.706e-05, allocations: 3.375 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002947/0.002984, allocations: 1.416 MB / 0.8122 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.00771, allocations: 2.971 MB / 0.8151 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.007752, allocations: 4 kB / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.007853, allocations: 7.922 kB / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.007997, allocations: 47.67 kB / 0.8151 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006825/0.00868, allocations: 196.6 kB / 0.8153 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.009001, allocations: 248 kB / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.009038, allocations: 0 / 0.8156 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.00921, allocations: 116.6 kB / 0.8157 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.009405, allocations: 119.8 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.00945, allocations: 13.12 kB / 0.8158 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.009908, allocations: 147.6 kB / 0.8159 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.01004, allocations: 95.83 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.01016, allocations: 78.3 kB / 0.8161 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.01069, allocations: 311 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.0107, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.0107, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.01071, allocations: 3.938 kB / 0.8164 GB, free: 12.4 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001064/0.01177, allocations: 0.5632 MB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.01181, allocations: 8.844 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.01199, allocations: 36.83 kB / 0.817 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.01232, allocations: 177.2 kB / 0.8172 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.01237, allocations: 24.36 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.0124, allocations: 12.38 kB / 0.8172 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006601/0.01306, allocations: 235.9 kB / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.01307, allocations: 192 / 0.8174 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.0131, allocations: 12.12 kB / 0.8174 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.01311, allocations: 0 / 0.8174 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.01468, allocations: 0.6387 MB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.01505, allocations: 205.7 kB / 0.8183 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.01687, allocations: 0.5688 MB / 0.8188 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.01739, allocations: 170.1 kB / 0.819 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003275/0.01772, allocations: 81.05 kB / 0.819 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.01776, allocations: 38.33 kB / 0.8191 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.01776, allocations: 0 / 0.8191 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.001787/0.01954, allocations: 0.5223 MB / 0.8196 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.0196, allocations: 71.27 kB / 0.8197 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01976, allocations: 181.9 kB / 0.8198 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.01979, allocations: 30.3 kB / 0.8199 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01989, allocations: 143.5 kB / 0.82 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.02004, allocations: 132.1 kB / 0.8201 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.02017, allocations: 67.34 kB / 0.8202 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002837/0.02045, allocations: 0.5079 MB / 0.8207 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.02093, allocations: 139.9 kB / 0.8208 GB, free: 7.695 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.02141, allocations: 144.9 kB / 0.821 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.0223, allocations: 267.6 kB / 0.8212 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02231, allocations: 4 kB / 0.8212 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001134/0.02344, allocations: 369 kB / 0.8216 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.02346, allocations: 4 kB / 0.8216 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02347, allocations: 0 / 0.8216 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.02349, allocations: 7.984 kB / 0.8216 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005551/0.02404, allocations: 103.8 kB / 0.8217 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.02405, allocations: 0 / 0.8217 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.02428, allocations: 55.84 kB / 0.8217 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.02431, allocations: 15.98 kB / 0.8218 GB, free: 6.734 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.02447, allocations: 168.5 kB / 0.8219 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.02454, allocations: 27.91 kB / 0.8219 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.02581, allocations: 437.2 kB / 0.8224 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.02582, allocations: 4 kB / 0.8224 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.02583, allocations: 3.938 kB / 0.8224 GB, free: 6.098 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.02583, allocations: 3.984 kB / 0.8224 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.02615, allocations: 212.4 kB / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02616, allocations: 0 / 0.8226 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.02655, allocations: 103.9 kB / 0.8227 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.02655, allocations: 0 / 0.8227 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.02658, allocations: 11.98 kB / 0.8227 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.02658, allocations: 0 / 0.8227 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02658, allocations: 0 / 0.8227 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.02783, allocations: 444 kB / 0.8231 GB, free: 5.281 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.02788, allocations: 23.83 kB / 0.8231 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.02792, allocations: 4 kB / 0.8231 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.02813, allocations: 35.97 kB / 0.8232 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.02845, allocations: 151.6 kB / 0.8233 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.02849, allocations: 11.98 kB / 0.8233 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001084/0.0286, allocations: 143.2 kB / 0.8235 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0286, allocations: 0 / 0.8235 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004286/0.02903, allocations: 115.8 kB / 0.8236 GB, free: 4.805 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004083/0.02944, allocations: 190.9 kB / 0.8237 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.03057, allocations: 374.9 kB / 0.8241 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03057, allocations: 0 / 0.8241 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.03116, allocations: 219.4 kB / 0.8243 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.0316, allocations: 93.97 kB / 0.8244 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007763/0.03238, allocations: 360.4 kB / 0.8247 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.03252, allocations: 118.6 kB / 0.8249 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004153/0.03293, allocations: 165.6 kB / 0.825 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.03305, allocations: 44.47 kB / 0.8251 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.03305, allocations: 0 / 0.8251 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of Templates: time 0.0122/0.04525, allocations: 5.503 MB / 0.8304 GB, free: 13.84 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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: 8.55976000695955]