Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0019/0.0019, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.00206/0.00206, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.683/1.683, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.14/3.14, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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.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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.742e-05/3.935e-05, allocations: 5.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.08499/0.08503, allocations: 57.96 MB / 0.8674 GB, free: 7.992 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0332/0.1182, allocations: 18.67 MB / 0.8856 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.1224, allocations: 103.2 kB / 0.8857 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.1257, allocations: 0.9155 MB / 0.8866 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.009823/0.1356, allocations: 2.727 MB / 0.8893 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.141, allocations: 1.653 MB / 0.8909 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0301/0.1711, allocations: 22.25 MB / 0.9126 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01539/0.1865, allocations: 7.392 MB / 0.9198 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03253/0.219, allocations: 10.49 MB / 0.9301 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01833/0.2373, allocations: 6.48 MB / 0.9364 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.00609/0.2434, allocations: 0.9375 MB / 0.9373 GB, free: 208 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/0.2541, allocations: 1.596 MB / 0.9389 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.006722/0.2608, allocations: 2.507 MB / 0.9413 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.01431/0.2751, allocations: 3.384 MB / 0.9446 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02804/0.3031, allocations: 13.57 MB / 0.9579 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.3031, allocations: 4 kB / 0.9579 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3031, allocations: 0 / 0.9579 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005913/0.3037, allocations: 0 / 0.9579 GB, free: 11.09 MB / 0.9167 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.03072/0.3345, allocations: 9.634 MB / 0.9673 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3345, allocations: 8.031 kB / 0.9673 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006939/0.3415, allocations: 1.514 MB / 0.9688 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01872/0.3602, allocations: 6.286 MB / 0.9749 GB, free: 9.461 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005879/0.3608, allocations: 456.6 kB / 0.9754 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/0.3634, allocations: 0.6136 MB / 0.976 GB, free: 8.398 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/0.3929, allocations: 10.17 MB / 0.9859 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/0.3932, allocations: 23.81 kB / 0.9859 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001872/0.395, allocations: 256 kB / 0.9862 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002584/0.3953, allocations: 179.9 kB / 0.9863 GB, free: 13.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.4134, allocations: 6.18 MB / 0.9924 GB, free: 6.914 MB / 0.948 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.08678/0.5002, allocations: 49.64 MB / 1.041 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007623/0.5078, allocations: 3.508 MB / 1.044 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005161/0.513, allocations: 2.631 MB / 1.047 GB, free: 12.42 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009996/0.514, allocations: 198.3 kB / 1.047 GB, free: 12.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/0.5191, allocations: 3.159 MB / 1.05 GB, free: 8.77 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002904/0.522, allocations: 321.8 kB / 1.05 GB, free: 8.453 MB / 1.01 GB Notification: Performance of pre-optimization done (n=317): time 9.327e-06/0.522, allocations: 0 / 1.05 GB, free: 8.453 MB / 1.01 GB Notification: Performance of matching and sorting (n=317): time 0.01567/0.5377, allocations: 5.827 MB / 1.056 GB, free: 2.574 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5378, allocations: 93.84 kB / 1.056 GB, free: 2.469 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9844/1.522, allocations: 6.097 MB / 1.062 GB, free: 266.1 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.0008413/1.523, allocations: 89.61 kB / 1.062 GB, free: 266 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0033/1.526, allocations: 3.724 MB / 1.066 GB, free: 265.4 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00176/1.528, allocations: 1.283 MB / 1.067 GB, free: 264.8 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/1.529, allocations: 1.085 MB / 1.068 GB, free: 264.7 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/1.53, allocations: 476.8 kB / 1.069 GB, free: 264.2 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/1.532, allocations: 1.711 MB / 1.07 GB, free: 264.1 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/1.535, allocations: 4.195 MB / 1.074 GB, free: 260.7 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006362/1.542, allocations: 6.327 MB / 1.081 GB, free: 256.3 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/1.542, allocations: 18.5 kB / 1.081 GB, free: 256.3 MB / 1.011 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01221/1.554, allocations: 6.059 MB / 1.087 GB, free: 254 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.554, allocations: 57.58 kB / 1.087 GB, free: 253.9 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/1.554, allocations: 48.94 kB / 1.087 GB, free: 253.9 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/1.557, allocations: 0.5281 MB / 1.087 GB, free: 253.8 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/1.56, allocations: 1 MB / 1.088 GB, free: 253.7 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/1.566, allocations: 6.587 MB / 1.095 GB, free: 248.6 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004948/1.571, allocations: 286.1 kB / 1.095 GB, free: 248.5 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006367/1.572, allocations: 221.2 kB / 1.095 GB, free: 248.5 MB / 1.011 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.004644/1.576, allocations: 2.184 MB / 1.097 GB, free: 247.5 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0019/1.578, allocations: 0.5872 MB / 1.098 GB, free: 247.2 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008005/1.586, allocations: 4.291 MB / 1.102 GB, free: 245.6 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.015e-05/1.586, allocations: 36.05 kB / 1.102 GB, free: 245.6 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.586, allocations: 8.844 kB / 1.102 GB, free: 245.6 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005803/1.592, allocations: 3.707 MB / 1.106 GB, free: 244.1 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02667/1.619, allocations: 11.57 MB / 1.117 GB, free: 239.3 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/1.619, allocations: 0 / 1.117 GB, free: 239.3 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002872/1.622, allocations: 0.6353 MB / 1.118 GB, free: 239.3 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/1.624, allocations: 481.3 kB / 1.118 GB, free: 239.2 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003608/1.624, allocations: 81.05 kB / 1.118 GB, free: 239.1 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/1.63, allocations: 6.501 MB / 1.124 GB, free: 234.1 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.63, allocations: 5.375 kB / 1.124 GB, free: 234.1 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.642, allocations: 6.561 MB / 1.131 GB, free: 231.4 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004317/1.646, allocations: 0.9666 MB / 1.132 GB, free: 230.9 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/1.648, allocations: 66.55 kB / 1.132 GB, free: 230.9 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/1.652, allocations: 196 kB / 1.132 GB, free: 230.8 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005915/1.652, allocations: 216.1 kB / 1.132 GB, free: 230.8 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003773/1.653, allocations: 138.6 kB / 1.132 GB, free: 230.8 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.005866/1.658, allocations: 3.49 MB / 1.136 GB, free: 229.5 MB / 1.011 GB Notification: Performance of sort global known variables: time 2.1e-07/1.658, allocations: 0.7656 kB / 1.136 GB, free: 229.5 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.008238/1.667, allocations: 2.098 MB / 1.138 GB, free: 229.2 MB / 1.011 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.001524/1.668, allocations: 490.1 kB / 1.138 GB, free: 229 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.008317/1.676, allocations: 4.992 MB / 1.143 GB, free: 225.9 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.676, allocations: 9.172 kB / 1.143 GB, free: 225.9 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/1.68, allocations: 2.363 MB / 1.145 GB, free: 223.8 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01438/1.694, allocations: 2.889 MB / 1.148 GB, free: 221.7 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.716, allocations: 12.69 MB / 1.161 GB, free: 209.3 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003508/1.72, allocations: 3.728 MB / 1.164 GB, free: 205.6 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.005242/1.725, allocations: 1.535 MB / 1.166 GB, free: 204 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/1.726, allocations: 428.3 kB / 1.166 GB, free: 203.6 MB / 1.011 GB Notification: Performance of SimCode: time 2.024e-06/1.726, allocations: 0.9844 kB / 1.166 GB, free: 203.6 MB / 1.011 GB Notification: Performance of Templates: time 0.1409/1.867, allocations: 102.4 MB / 1.266 GB, free: 103.2 MB / 1.011 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.360149002983235]