Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.002583/0.002583, allocations: 83.69 kB / 20.24 MB, free: 4.184 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.003039/0.003039, allocations: 161.3 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.609 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.108/3.108, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8108 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.679e-05, allocations: 5.219 kB / 0.8108 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.07517/0.07521, allocations: 50.99 MB / 0.8606 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02823/0.1034, allocations: 14.37 MB / 0.8746 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00384/0.1073, allocations: 95.25 kB / 0.8747 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.1109, allocations: 0.8107 MB / 0.8755 GB, free: 14.6 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.009091/0.12, allocations: 2.466 MB / 0.8779 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004858/0.1249, allocations: 1.395 MB / 0.8793 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.03538/0.1603, allocations: 20.63 MB / 0.8994 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.1777, allocations: 6.726 MB / 0.906 GB, free: 15.18 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02965/0.2073, allocations: 9.586 MB / 0.9154 GB, free: 5.703 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01518/0.2225, allocations: 5.919 MB / 0.9211 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.003952/0.2265, allocations: 0.8438 MB / 0.922 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00935/0.2358, allocations: 1.494 MB / 0.9234 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.006726/0.2425, allocations: 2.297 MB / 0.9257 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0138/0.2563, allocations: 3.064 MB / 0.9287 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.02642/0.2828, allocations: 12.38 MB / 0.9407 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.2828, allocations: 0 / 0.9407 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2828, allocations: 0 / 0.9407 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005528/0.2833, allocations: 0 / 0.9407 GB, free: 11.64 MB / 0.8542 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.03101/0.3143, allocations: 8.848 MB / 0.9494 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.3144, allocations: 8.031 kB / 0.9494 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008537/0.3229, allocations: 1.393 MB / 0.9508 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01941/0.3423, allocations: 5.883 MB / 0.9565 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/0.343, allocations: 415.4 kB / 0.9569 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/0.346, allocations: 0.5628 MB / 0.9574 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02683/0.3728, allocations: 9.118 MB / 0.9663 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/0.3732, allocations: 15.94 kB / 0.9664 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002167/0.3754, allocations: 236 kB / 0.9666 GB, free: 444 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/0.3756, allocations: 171.9 kB / 0.9668 GB, free: 272 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01707/0.3927, allocations: 5.47 MB / 0.9721 GB, free: 10.79 MB / 0.8855 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.07813/0.4708, allocations: 43.09 MB / 1.014 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006403/0.4772, allocations: 3.037 MB / 1.017 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/0.4819, allocations: 2.262 MB / 1.019 GB, free: 7.859 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.4826, allocations: 154 kB / 1.02 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.4827, allocations: 79.28 kB / 1.02 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=267): time 6.593e-06/0.4827, allocations: 0 / 1.02 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of matching and sorting (n=267): time 0.01198/0.4947, allocations: 4.699 MB / 1.024 GB, free: 2.855 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.4948, allocations: 81.52 kB / 1.024 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5822/1.077, allocations: 5.494 MB / 1.03 GB, free: 208 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008205/1.078, allocations: 78.27 kB / 1.03 GB, free: 208 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003411/1.081, allocations: 3.375 MB / 1.033 GB, free: 207.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/1.083, allocations: 1.091 MB / 1.034 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/1.084, allocations: 0.9282 MB / 1.035 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/1.085, allocations: 481.8 kB / 1.035 GB, free: 206 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002629/1.087, allocations: 1.281 MB / 1.037 GB, free: 206 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/1.091, allocations: 3.334 MB / 1.04 GB, free: 203.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006844/1.098, allocations: 4.992 MB / 1.045 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-05/1.098, allocations: 12.22 kB / 1.045 GB, free: 200.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01027/1.108, allocations: 4.815 MB / 1.05 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/1.108, allocations: 22.91 kB / 1.05 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-05/1.108, allocations: 41.23 kB / 1.05 GB, free: 198.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/1.111, allocations: 0.5232 MB / 1.05 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/1.114, allocations: 0.866 MB / 1.051 GB, free: 198.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/1.12, allocations: 6.588 MB / 1.057 GB, free: 193.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00491/1.125, allocations: 467.9 kB / 1.058 GB, free: 192.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007276/1.125, allocations: 180.9 kB / 1.058 GB, free: 192.8 MB / 0.9323 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.004171/1.13, allocations: 2.021 MB / 1.06 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/1.131, allocations: 0.5237 MB / 1.06 GB, free: 191.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005784/1.137, allocations: 3.398 MB / 1.064 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/1.137, allocations: 27.84 kB / 1.064 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/1.137, allocations: 3.5 kB / 1.064 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003821/1.141, allocations: 2.98 MB / 1.067 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.162, allocations: 10.06 MB / 1.077 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.162, allocations: 4.547 kB / 1.077 GB, free: 183.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002009/1.164, allocations: 0.5009 MB / 1.077 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/1.166, allocations: 484.7 kB / 1.078 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.166, allocations: 77.75 kB / 1.078 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004534/1.17, allocations: 6.535 MB / 1.084 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.17, allocations: 11.72 kB / 1.084 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008065/1.178, allocations: 5.353 MB / 1.089 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003179/1.182, allocations: 0.885 MB / 1.09 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.183, allocations: 67.92 kB / 1.09 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/1.186, allocations: 171.4 kB / 1.09 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003456/1.186, allocations: 185.5 kB / 1.09 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.186, allocations: 135.9 kB / 1.091 GB, free: 170.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.004502/1.191, allocations: 3.186 MB / 1.094 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/1.191, allocations: 0 / 1.094 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006712/1.197, allocations: 1.89 MB / 1.096 GB, free: 165.8 MB / 0.9323 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.001298/1.199, allocations: 477.7 kB / 1.096 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005986/1.205, allocations: 3.944 MB / 1.1 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/1.205, allocations: 7.688 kB / 1.1 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/1.207, allocations: 1.973 MB / 1.102 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/1.22, allocations: 2.715 MB / 1.104 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/1.239, allocations: 11.38 MB / 1.116 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00271/1.241, allocations: 3.426 MB / 1.119 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004688/1.246, allocations: 1.358 MB / 1.12 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.247, allocations: 380.3 kB / 1.121 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.394e-06/1.247, allocations: 8.984 kB / 1.121 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.1253/1.373, allocations: 93.41 MB / 1.212 GB, free: 48.56 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.25565434503369]