Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009949/0.0009949, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001141/0.001141, allocations: 177 kB / 23.36 MB, free: 1.133 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.05/1.05, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.512/2.512, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaTan.vol.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.813e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01205/0.01207, allocations: 15.32 MB / 0.8536 GB, free: 14.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.009892/0.02196, allocations: 5.697 MB / 0.8591 GB, free: 9.094 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.02344, allocations: 95.25 kB / 0.8592 GB, free: 9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009177/0.02436, allocations: 0.4884 MB / 0.8597 GB, free: 8.508 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.02702, allocations: 1.639 MB / 0.8613 GB, free: 6.859 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.02892, allocations: 1.22 MB / 0.8625 GB, free: 5.637 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01383/0.04274, allocations: 20.25 MB / 0.8823 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008176/0.05092, allocations: 6.726 MB / 0.8888 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01499/0.06591, allocations: 9.228 MB / 0.8978 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008824/0.07473, allocations: 5.743 MB / 0.9035 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.07617, allocations: 0.832 MB / 0.9043 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.079, allocations: 1.12 MB / 0.9054 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.08065, allocations: 2.246 MB / 0.9076 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.004089/0.08473, allocations: 3.049 MB / 0.9105 GB, free: 4.445 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006433/0.09117, allocations: 7.268 MB / 0.9176 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.09117, allocations: 0 / 0.9176 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/0.09118, allocations: 0 / 0.9176 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.688e-05/0.09127, allocations: 0 / 0.9176 GB, free: 13.16 MB / 0.8855 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.006713/0.09798, allocations: 7.02 MB / 0.9245 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.09803, allocations: 12.62 kB / 0.9245 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.1001, allocations: 1.163 MB / 0.9256 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/0.1046, allocations: 3.514 MB / 0.9291 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.1048, allocations: 419.4 kB / 0.9295 GB, free: 0.8711 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005659/0.1054, allocations: 0.5589 MB / 0.93 GB, free: 320 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.1105, allocations: 5.48 MB / 0.9354 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.1106, allocations: 11.88 kB / 0.9354 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004054/0.1111, allocations: 236 kB / 0.9356 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.1112, allocations: 164 kB / 0.9358 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/0.1137, allocations: 1.845 MB / 0.9376 GB, free: 8.066 MB / 0.9011 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.01664/0.1303, allocations: 16.38 MB / 0.9536 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.132, allocations: 1.48 MB / 0.955 GB, free: 5.809 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.1332, allocations: 1.112 MB / 0.9561 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.1335, allocations: 122 kB / 0.9562 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.1335, allocations: 68.67 kB / 0.9563 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 5.6e-06/0.1336, allocations: 0 / 0.9563 GB, free: 4.484 MB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.003377/0.1369, allocations: 1.9 MB / 0.9581 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.137, allocations: 77.52 kB / 0.9582 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002916/0.1399, allocations: 3.316 MB / 0.9614 GB, free: 15.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.14, allocations: 77.7 kB / 0.9615 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.1411, allocations: 2.303 MB / 0.9638 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/0.1418, allocations: 0.9682 MB / 0.9647 GB, free: 11.71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000629/0.1424, allocations: 0.6684 MB / 0.9654 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.1425, allocations: 301.1 kB / 0.9656 GB, free: 10.74 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005835/0.1431, allocations: 452.5 kB / 0.9661 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.1442, allocations: 1.693 MB / 0.9677 GB, free: 8.023 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001994/0.1462, allocations: 2.438 MB / 0.9701 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.1462, allocations: 12 kB / 0.9701 GB, free: 4.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.002755/0.1489, allocations: 2.285 MB / 0.9724 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.149, allocations: 24 kB / 0.9724 GB, free: 2.633 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.287e-05/0.149, allocations: 40 kB / 0.9724 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/0.15, allocations: 376.7 kB / 0.9728 GB, free: 2.223 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.1517, allocations: 0.8853 MB / 0.9736 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.1543, allocations: 3.698 MB / 0.9772 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.1561, allocations: 385.2 kB / 0.9776 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.1563, allocations: 140 kB / 0.9777 GB, free: 12.95 MB / 0.948 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.001199/0.1575, allocations: 363.3 kB / 0.9781 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.1579, allocations: 351.6 kB / 0.9784 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/0.1599, allocations: 1.604 MB / 0.98 GB, free: 10.59 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.1599, allocations: 31.98 kB / 0.98 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1599, allocations: 4 kB / 0.98 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.1611, allocations: 1.171 MB / 0.9812 GB, free: 9.285 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.167, allocations: 4.727 MB / 0.9858 GB, free: 4.414 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.167, allocations: 8 kB / 0.9858 GB, free: 4.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.1683, allocations: 0.5155 MB / 0.9863 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.1691, allocations: 313.3 kB / 0.9866 GB, free: 3.578 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/0.1693, allocations: 71.95 kB / 0.9867 GB, free: 3.508 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002399/0.1717, allocations: 3.637 MB / 0.9902 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1717, allocations: 4 kB / 0.9902 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.1746, allocations: 2.19 MB / 0.9924 GB, free: 13.33 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.1758, allocations: 0.585 MB / 0.9929 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.1761, allocations: 63.98 kB / 0.993 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.1772, allocations: 99.84 kB / 0.9931 GB, free: 12.58 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.1774, allocations: 181.5 kB / 0.9933 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.1775, allocations: 87.91 kB / 0.9933 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001691/0.1792, allocations: 1.692 MB / 0.995 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1792, allocations: 0 / 0.995 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003427/0.1826, allocations: 1.847 MB / 0.9968 GB, free: 8.762 MB / 0.9636 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.0004754/0.1831, allocations: 255.8 kB / 0.9971 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002373/0.1855, allocations: 1.91 MB / 0.9989 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.972e-05/0.1856, allocations: 63.84 kB / 0.999 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009624/0.1865, allocations: 1.01 MB / 1 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/0.1916, allocations: 2.633 MB / 1.003 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/0.2031, allocations: 9.354 MB / 1.012 GB, free: 9.395 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.2042, allocations: 1.285 MB / 1.013 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002277/0.2065, allocations: 0.7821 MB / 1.014 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003438/0.2099, allocations: 1.574 MB / 1.015 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of SimCode: time 1.823e-06/0.2099, allocations: 0 / 1.015 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of Templates: time 0.4649/0.6748, allocations: 99.34 MB / 1.112 GB, free: 164.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.032872883137316]