Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaTan.vol.1..T|heaTan.vol.2..T|heaTan.vol.3..T|heaTan.vol.4..T|heaTan.vol.5..T|heaTan.vol.6..T|heaTan.vol.7..T|cooTan.vol.1..T|cooTan.vol.2..T|cooTan.vol.3..T|cooTan.vol.4..T|cooTan.vol.5..T|cooTan.vol.6..T|cooTan.vol.7..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 105.2 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 191.6 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.2 MB / 0.665 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 61.58 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2989, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.05492/0.3539, allocations: 48.89 MB / 0.9975 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02064/0.3746, allocations: 13.72 MB / 1.011 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.3777, allocations: 63.62 kB / 1.011 GB, free: 10.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.3808, allocations: 0.6798 MB / 1.012 GB, free: 9.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007378/0.3882, allocations: 2.1 MB / 1.014 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003952/0.3922, allocations: 1.189 MB / 1.015 GB, free: 6.371 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02526/0.4175, allocations: 19.68 MB / 1.034 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01694/0.4344, allocations: 9.816 MB / 1.044 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01644/0.4509, allocations: 6.566 MB / 1.05 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01198/0.4629, allocations: 5.93 MB / 1.056 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003519/0.4665, allocations: 0.832 MB / 1.057 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007557/0.4741, allocations: 1.604 MB / 1.058 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004511/0.4786, allocations: 2.103 MB / 1.06 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01023/0.4889, allocations: 4.275 MB / 1.064 GB, free: 3.363 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01263/0.5016, allocations: 9.832 MB / 1.074 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5016, allocations: 0 / 1.074 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5016, allocations: 0 / 1.074 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0004913/0.5021, allocations: 0 / 1.074 GB, free: 9.516 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02519/0.5273, allocations: 7.717 MB / 1.082 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5274, allocations: 8.031 kB / 1.082 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/0.5324, allocations: 0.7891 MB / 1.082 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5342/1.067, allocations: 6.239 MB / 1.088 GB, free: 123.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004784/1.067, allocations: 417.7 kB / 1.089 GB, free: 123 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/1.07, allocations: 0.5446 MB / 1.089 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02521/1.095, allocations: 8.067 MB / 1.097 GB, free: 119.5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/1.095, allocations: 16.78 kB / 1.097 GB, free: 119.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/1.096, allocations: 239.9 kB / 1.098 GB, free: 119.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002718/1.097, allocations: 164.6 kB / 1.098 GB, free: 119.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/1.115, allocations: 6.53 MB / 1.104 GB, free: 117.2 MB / 0.8575 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.05007/1.165, allocations: 31.11 MB / 1.134 GB, free: 93.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005955/1.171, allocations: 3.644 MB / 1.138 GB, free: 92.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004079/1.175, allocations: 2.811 MB / 1.141 GB, free: 90.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008945/1.176, allocations: 0.8312 MB / 1.142 GB, free: 89.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.181e-05/1.176, allocations: 74.67 kB / 1.142 GB, free: 89.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=267): time 5.029e-06/1.176, allocations: 0 / 1.142 GB, free: 89.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=267): time 0.01097/1.187, allocations: 5.772 MB / 1.147 GB, free: 86.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.187, allocations: 80.36 kB / 1.147 GB, free: 86.69 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008037/1.195, allocations: 5.029 MB / 1.152 GB, free: 83.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007231/1.196, allocations: 81.7 kB / 1.152 GB, free: 83.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.198, allocations: 2.86 MB / 1.155 GB, free: 81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.199, allocations: 0.934 MB / 1.156 GB, free: 80.07 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009848/1.2, allocations: 0.7152 MB / 1.157 GB, free: 79.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.911e-05/1.2, allocations: 316.7 kB / 1.157 GB, free: 79.04 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/1.202, allocations: 1.67 MB / 1.159 GB, free: 77.37 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/1.205, allocations: 2.936 MB / 1.162 GB, free: 73.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004912/1.21, allocations: 4.962 MB / 1.166 GB, free: 68.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/1.21, allocations: 12 kB / 1.166 GB, free: 68.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008317/1.218, allocations: 5.437 MB / 1.172 GB, free: 62.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/1.218, allocations: 24 kB / 1.172 GB, free: 62.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/1.219, allocations: 40 kB / 1.172 GB, free: 62.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/1.219, allocations: 426.9 kB / 1.172 GB, free: 62.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/1.222, allocations: 0.8619 MB / 1.173 GB, free: 61.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/1.227, allocations: 5.699 MB / 1.179 GB, free: 55.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005844/1.233, allocations: 0.6393 MB / 1.179 GB, free: 54.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/1.233, allocations: 180 kB / 1.179 GB, free: 54.69 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.004129/1.238, allocations: 2.289 MB / 1.182 GB, free: 52.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/1.239, allocations: 490.1 kB / 1.182 GB, free: 51.91 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/1.245, allocations: 4.173 MB / 1.186 GB, free: 47.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.245, allocations: 28 kB / 1.186 GB, free: 47.65 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.245, allocations: 11.92 kB / 1.186 GB, free: 47.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003943/1.249, allocations: 3.632 MB / 1.19 GB, free: 43.89 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01729/1.267, allocations: 10.21 MB / 1.2 GB, free: 33.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.267, allocations: 4 kB / 1.2 GB, free: 33.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002023/1.269, allocations: 0.4992 MB / 1.2 GB, free: 33.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/1.269, allocations: 373.4 kB / 1.201 GB, free: 32.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.27, allocations: 79.95 kB / 1.201 GB, free: 32.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/1.274, allocations: 5.632 MB / 1.206 GB, free: 26.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.274, allocations: 11.98 kB / 1.206 GB, free: 26.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009251/1.284, allocations: 6.245 MB / 1.212 GB, free: 20.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003281/1.287, allocations: 1.084 MB / 1.213 GB, free: 19.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/1.288, allocations: 63.83 kB / 1.213 GB, free: 19.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/1.293, allocations: 327.1 kB / 1.214 GB, free: 18.73 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/1.293, allocations: 173.6 kB / 1.214 GB, free: 18.56 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000366/1.294, allocations: 135.9 kB / 1.214 GB, free: 18.43 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.007074/1.301, allocations: 3.683 MB / 1.218 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.71e-07/1.301, allocations: 0 / 1.218 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.008777/1.309, allocations: 1.783 MB / 1.219 GB, free: 12.99 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * 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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001874/1.311, allocations: 485.3 kB / 1.22 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01407/1.325, allocations: 8.073 MB / 1.228 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/1.326, allocations: 4 kB / 1.228 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003175/1.329, allocations: 2.036 MB / 1.23 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01857/1.347, allocations: 3.47 MB / 1.233 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/1.379, allocations: 14.95 MB / 1.248 GB, free: 32 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007586/1.386, allocations: 4.231 MB / 1.252 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/1.389, allocations: 443.3 kB / 1.252 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of SimCode: time 1.162e-06/1.389, allocations: 0 / 1.252 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of Templates: time 0.243/1.632, allocations: 172.5 MB / 1.421 GB, free: 15.24 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches