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.001883/0.001883, allocations: 89.27 kB / 19.43 MB, free: 1.973 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.002224/0.002224, allocations: 169.6 kB / 22.75 MB, free: 4.785 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.52/1.52, allocations: 177.1 MB / 203.1 MB, free: 9.043 MB / 190.1 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.222/3.222, allocations: 428.5 MB / 0.6719 GB, free: 9.594 MB / 0.6387 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 1.733e-06/1.733e-06, allocations: 0 / 0.8762 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.625e-05, allocations: 12.03 kB / 0.8763 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.06068/0.06072, allocations: 51.25 MB / 0.9263 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.08839, allocations: 16.88 MB / 0.9428 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.09194, allocations: 99.19 kB / 0.9429 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/0.09519, allocations: 0.9078 MB / 0.9438 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008501/0.1037, allocations: 2.734 MB / 0.9464 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.1084, allocations: 1.649 MB / 0.948 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02607/0.1345, allocations: 22.26 MB / 0.9698 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/0.1482, allocations: 6.996 MB / 0.9766 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03246/0.1806, allocations: 10.38 MB / 0.9868 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01517/0.1958, allocations: 6.351 MB / 0.993 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00353/0.1993, allocations: 0.9375 MB / 0.9939 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007995/0.2073, allocations: 1.604 MB / 0.9954 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.005296/0.2126, allocations: 2.496 MB / 0.9979 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01245/0.2251, allocations: 3.376 MB / 1.001 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02418/0.2493, allocations: 13.57 MB / 1.014 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2493, allocations: 3.938 kB / 1.014 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2493, allocations: 0 / 1.014 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0005549/0.2498, allocations: 0 / 1.014 GB, free: 4.102 MB / 0.9669 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.02768/0.2775, allocations: 8.56 MB / 1.023 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2776, allocations: 12.03 kB / 1.023 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007321/0.2849, allocations: 1.506 MB / 1.024 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/0.3014, allocations: 7.182 MB / 1.031 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004777/0.3019, allocations: 460.6 kB / 1.032 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002385/0.3043, allocations: 0.6018 MB / 1.032 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02228/0.3265, allocations: 10.1 MB / 1.042 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001469/0.3267, allocations: 19.81 kB / 1.042 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008662/0.3276, allocations: 260 kB / 1.042 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.3278, allocations: 180 kB / 1.043 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01711/0.3449, allocations: 7.453 MB / 1.05 GB, free: 15.02 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.05866/0.4035, allocations: 26.69 MB / 1.076 GB, free: 3.887 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008113/0.4116, allocations: 3.969 MB / 1.08 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006083/0.4177, allocations: 3.041 MB / 1.083 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.4189, allocations: 218.3 kB / 1.083 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006115/0.425, allocations: 3.452 MB / 1.086 GB, free: 8.906 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003277/0.4283, allocations: 321.8 kB / 1.087 GB, free: 8.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=317): time 2.84e-05/0.4283, allocations: 0 / 1.087 GB, free: 8.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=317): time 0.01827/0.4466, allocations: 7.044 MB / 1.094 GB, free: 1.496 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.4466, allocations: 81.91 kB / 1.094 GB, free: 1.402 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/0.4606, allocations: 4.977 MB / 1.099 GB, free: 12.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000979/0.4616, allocations: 85.7 kB / 1.099 GB, free: 12.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.005055/0.4667, allocations: 3.263 MB / 1.102 GB, free: 9.047 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002555/0.4692, allocations: 1.158 MB / 1.103 GB, free: 7.879 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003095/0.4723, allocations: 0.8507 MB / 1.104 GB, free: 7.016 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4725, allocations: 305.1 kB / 1.104 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004802/0.4773, allocations: 2.192 MB / 1.106 GB, free: 4.508 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006612/0.4839, allocations: 3.83 MB / 1.11 GB, free: 15.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/0.4958, allocations: 6.323 MB / 1.116 GB, free: 8.902 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.494e-05/0.4959, allocations: 12 kB / 1.116 GB, free: 8.891 MB / 1.076 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01529/0.5112, allocations: 6.971 MB / 1.123 GB, free: 1.863 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/0.5113, allocations: 53.69 kB / 1.123 GB, free: 1.805 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.763e-05/0.5114, allocations: 52 kB / 1.123 GB, free: 1.754 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/0.5139, allocations: 0.5311 MB / 1.124 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/0.5181, allocations: 1.002 MB / 1.124 GB, free: 220 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007462/0.5256, allocations: 5.403 MB / 1.13 GB, free: 10.61 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/0.5311, allocations: 299.7 kB / 1.13 GB, free: 10.32 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009058/0.532, allocations: 220 kB / 1.13 GB, free: 10.11 MB / 1.092 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.006138/0.5382, allocations: 2.485 MB / 1.133 GB, free: 7.609 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002516/0.5407, allocations: 0.5906 MB / 1.133 GB, free: 7.016 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.5516, allocations: 5.199 MB / 1.138 GB, free: 1.762 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001102/0.5517, allocations: 35.98 kB / 1.138 GB, free: 1.727 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5518, allocations: 4 kB / 1.138 GB, free: 1.723 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5239/1.076, allocations: 4.526 MB / 1.143 GB, free: 287.1 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/1.099, allocations: 10.46 MB / 1.153 GB, free: 283.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.099, allocations: 2.5 kB / 1.153 GB, free: 283.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002834/1.102, allocations: 0.6466 MB / 1.154 GB, free: 283.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/1.104, allocations: 484 kB / 1.154 GB, free: 283.2 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/1.104, allocations: 84.11 kB / 1.154 GB, free: 283.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/1.109, allocations: 5.295 MB / 1.159 GB, free: 279.4 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.109, allocations: 10.84 kB / 1.159 GB, free: 279.4 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.12, allocations: 7.776 MB / 1.167 GB, free: 276.5 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003223/1.123, allocations: 1.099 MB / 1.168 GB, free: 276.3 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.124, allocations: 64.84 kB / 1.168 GB, free: 276.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003556/1.128, allocations: 210.8 kB / 1.168 GB, free: 276.2 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/1.128, allocations: 210.7 kB / 1.169 GB, free: 276.2 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000484/1.129, allocations: 142.4 kB / 1.169 GB, free: 276.1 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00679/1.136, allocations: 3.382 MB / 1.172 GB, free: 275 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.91e-07/1.136, allocations: 0 / 1.172 GB, free: 275 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.008193/1.144, allocations: 2.125 MB / 1.174 GB, free: 274.8 MB / 1.092 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.001818/1.146, allocations: 489.3 kB / 1.174 GB, free: 274.6 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009872/1.155, allocations: 5.263 MB / 1.18 GB, free: 272.7 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/1.155, allocations: 3.875 kB / 1.18 GB, free: 272.7 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.004682/1.16, allocations: 2.379 MB / 1.182 GB, free: 271.7 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01738/1.177, allocations: 2.881 MB / 1.185 GB, free: 271 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/1.204, allocations: 13.8 MB / 1.198 GB, free: 265.1 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/1.209, allocations: 4.151 MB / 1.202 GB, free: 263.9 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.006054/1.215, allocations: 1.912 MB / 1.204 GB, free: 263.6 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.216, allocations: 440.9 kB / 1.205 GB, free: 263.6 MB / 1.092 GB Notification: Performance of SimCode: time 1.383e-06/1.216, allocations: 0 / 1.205 GB, free: 263.6 MB / 1.092 GB Notification: Performance of Templates: time 0.1425/1.359, allocations: 103.4 MB / 1.306 GB, free: 167 MB / 1.092 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: 12.74771036580205]