Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.001802/0.001802, allocations: 84.73 kB / 19.43 MB, free: 360 kB / 13.93 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.002357/0.002357, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.24/3.24, allocations: 429.6 MB / 0.673 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.922e-05/4.145e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.0765/0.07654, allocations: 51.24 MB / 0.9276 GB, free: 3.121 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.03199/0.1085, allocations: 16.88 MB / 0.9441 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/0.1118, allocations: 107.2 kB / 0.9442 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.1153, allocations: 0.9076 MB / 0.9451 GB, free: 1.18 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.1255, allocations: 2.738 MB / 0.9478 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.005311/0.1308, allocations: 1.649 MB / 0.9494 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.03222/0.163, allocations: 22.29 MB / 0.9711 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01535/0.1783, allocations: 7.01 MB / 0.978 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02922/0.2076, allocations: 10.48 MB / 0.9882 GB, free: 4.914 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01499/0.2225, allocations: 6.347 MB / 0.9944 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.003732/0.2263, allocations: 0.9414 MB / 0.9953 GB, free: 13.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007788/0.2341, allocations: 1.604 MB / 0.9969 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.004902/0.239, allocations: 2.488 MB / 0.9993 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.01002/0.249, allocations: 3.38 MB / 1.003 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.02249/0.2715, allocations: 13.57 MB / 1.016 GB, free: 8.508 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2715, allocations: 0 / 1.016 GB, free: 8.508 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2715, allocations: 0 / 1.016 GB, free: 8.508 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000455/0.2719, allocations: 0 / 1.016 GB, free: 8.508 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02882/0.3008, allocations: 8.556 MB / 1.024 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.909e-05/0.3008, allocations: 8.031 kB / 1.024 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009653/0.3105, allocations: 1.51 MB / 1.026 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02079/0.3313, allocations: 7.181 MB / 1.033 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006871/0.332, allocations: 460.5 kB / 1.033 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/0.335, allocations: 0.6252 MB / 1.034 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02767/0.3627, allocations: 10.09 MB / 1.044 GB, free: 11.33 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003136/0.363, allocations: 15.88 kB / 1.044 GB, free: 11.32 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00222/0.3652, allocations: 260 kB / 1.044 GB, free: 11.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.3655, allocations: 183.9 kB / 1.044 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.3854, allocations: 7.445 MB / 1.051 GB, free: 3.43 MB / 1.01 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.5887/0.9741, allocations: 26.67 MB / 1.077 GB, free: 188.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005631/0.9797, allocations: 3.972 MB / 1.081 GB, free: 187.1 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/0.9835, allocations: 3.041 MB / 1.084 GB, free: 186.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009164/0.9845, allocations: 224.6 kB / 1.084 GB, free: 186.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003566/0.988, allocations: 3.454 MB / 1.088 GB, free: 184 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002392/0.9904, allocations: 330.1 kB / 1.088 GB, free: 183.8 MB / 1.01 GB Notification: Performance of pre-optimization done (n=317): time 8.636e-06/0.9904, allocations: 0.6562 kB / 1.088 GB, free: 183.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.01318/1.004, allocations: 7.04 MB / 1.095 GB, free: 181.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/1.004, allocations: 88.78 kB / 1.095 GB, free: 181.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008344/1.012, allocations: 4.972 MB / 1.1 GB, free: 179.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000703/1.013, allocations: 86.86 kB / 1.1 GB, free: 179.6 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003058/1.016, allocations: 3.262 MB / 1.103 GB, free: 177.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001588/1.017, allocations: 1.157 MB / 1.104 GB, free: 176.8 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001447/1.019, allocations: 0.8527 MB / 1.105 GB, free: 176.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/1.019, allocations: 304 kB / 1.105 GB, free: 176.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003831/1.023, allocations: 2.19 MB / 1.108 GB, free: 175.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/1.027, allocations: 3.827 MB / 1.111 GB, free: 172.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009134/1.037, allocations: 6.33 MB / 1.118 GB, free: 168.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.997e-05/1.037, allocations: 13.94 kB / 1.118 GB, free: 168.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01389/1.051, allocations: 6.967 MB / 1.124 GB, free: 165.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/1.051, allocations: 54.55 kB / 1.124 GB, free: 165.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.106e-05/1.051, allocations: 48.58 kB / 1.124 GB, free: 165.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/1.053, allocations: 0.539 MB / 1.125 GB, free: 165.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/1.057, allocations: 1.008 MB / 1.126 GB, free: 165.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/1.063, allocations: 5.388 MB / 1.131 GB, free: 161.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005187/1.068, allocations: 298.9 kB / 1.132 GB, free: 161.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/1.068, allocations: 218.3 kB / 1.132 GB, free: 161.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004558/1.073, allocations: 2.476 MB / 1.134 GB, free: 160.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/1.074, allocations: 0.5923 MB / 1.135 GB, free: 160.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/1.083, allocations: 5.204 MB / 1.14 GB, free: 158.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/1.083, allocations: 31.23 kB / 1.14 GB, free: 158.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.083, allocations: 5.875 kB / 1.14 GB, free: 158.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005543/1.088, allocations: 4.527 MB / 1.144 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/1.105, allocations: 10.47 MB / 1.154 GB, free: 148.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.105, allocations: 0.5469 kB / 1.154 GB, free: 148.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/1.108, allocations: 0.6438 MB / 1.155 GB, free: 147.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/1.11, allocations: 488.5 kB / 1.156 GB, free: 147.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/1.11, allocations: 83.95 kB / 1.156 GB, free: 147 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004197/1.114, allocations: 5.308 MB / 1.161 GB, free: 141.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.114, allocations: 0.5469 kB / 1.161 GB, free: 141.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009939/1.124, allocations: 7.786 MB / 1.168 GB, free: 133.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00307/1.127, allocations: 1.099 MB / 1.17 GB, free: 132.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008797/1.128, allocations: 67.98 kB / 1.17 GB, free: 132.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/1.131, allocations: 214.5 kB / 1.17 GB, free: 132.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004121/1.131, allocations: 210.7 kB / 1.17 GB, free: 132.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002625/1.131, allocations: 143.9 kB / 1.17 GB, free: 131.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004343/1.136, allocations: 3.384 MB / 1.173 GB, free: 128.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/1.136, allocations: 0 / 1.173 GB, free: 128.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006621/1.142, allocations: 2.124 MB / 1.176 GB, free: 126.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/1.143, allocations: 483 kB / 1.176 GB, free: 126.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.007099/1.151, allocations: 5.266 MB / 1.181 GB, free: 120.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.151, allocations: 8.062 kB / 1.181 GB, free: 120.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003013/1.154, allocations: 2.369 MB / 1.183 GB, free: 118.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01187/1.165, allocations: 2.869 MB / 1.186 GB, free: 115.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.186, allocations: 13.79 MB / 1.2 GB, free: 101.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/1.189, allocations: 4.145 MB / 1.204 GB, free: 97.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005375/1.195, allocations: 1.918 MB / 1.206 GB, free: 95.67 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/1.196, allocations: 432.3 kB / 1.206 GB, free: 95.25 MB / 1.01 GB Notification: Performance of SimCode: time 1.704e-06/1.196, allocations: 0.6562 kB / 1.206 GB, free: 95.25 MB / 1.01 GB Notification: Performance of Templates: time 0.1329/1.329, allocations: 103.4 MB / 1.307 GB, free: 9.652 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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: 13.056622407981195]