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.0009405/0.0009405, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001015/0.001015, allocations: 161 kB / 24.17 MB, free: 328 kB / 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 0.9946/0.9946, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+..T|cooTan.vol.[0-9,]+..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.[0-9,]+..T|cooTan.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0.6562 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.342e-05, allocations: 2.312 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01355/0.01358, allocations: 15.3 MB / 0.7749 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008457/0.02203, allocations: 5.725 MB / 0.7805 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.02311, allocations: 91.25 kB / 0.7806 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009544/0.02407, allocations: 496.8 kB / 0.7811 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.02653, allocations: 1.628 MB / 0.7827 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.02831, allocations: 1.243 MB / 0.7839 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.04074, allocations: 20.25 MB / 0.8037 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006486/0.04723, allocations: 6.817 MB / 0.8103 GB, free: 2.973 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01578/0.06301, allocations: 9.279 MB / 0.8194 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/0.07388, allocations: 5.714 MB / 0.825 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.003213/0.07709, allocations: 0.8336 MB / 0.8258 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.08232, allocations: 1.101 MB / 0.8268 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.003631/0.08596, allocations: 2.25 MB / 0.829 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.008271/0.09423, allocations: 3.033 MB / 0.832 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.1057, allocations: 7.253 MB / 0.8391 GB, free: 5.57 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1057, allocations: 4.625 kB / 0.8391 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1057, allocations: 0.6875 kB / 0.8391 GB, free: 5.566 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003846/0.1061, allocations: 0 / 0.8391 GB, free: 5.566 MB / 0.7917 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.01009/0.1162, allocations: 7.021 MB / 0.8459 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1162, allocations: 13.05 kB / 0.846 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00251/0.1187, allocations: 1.175 MB / 0.8471 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006194/0.1249, allocations: 3.517 MB / 0.8505 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.1251, allocations: 419.4 kB / 0.8509 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006268/0.1258, allocations: 0.5589 MB / 0.8515 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005416/0.1312, allocations: 5.472 MB / 0.8568 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.76e-05/0.1313, allocations: 15.86 kB / 0.8568 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003442/0.1316, allocations: 236 kB / 0.8571 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/0.1317, allocations: 167.9 kB / 0.8572 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.1343, allocations: 1.845 MB / 0.859 GB, free: 0.4922 MB / 0.8073 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.02104/0.1553, allocations: 16.34 MB / 0.875 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.1573, allocations: 1.468 MB / 0.8764 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.1585, allocations: 1.135 MB / 0.8775 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.1589, allocations: 114 kB / 0.8776 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/0.1589, allocations: 68.67 kB / 0.8777 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=267): time 5.851e-06/0.1589, allocations: 0 / 0.8777 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=267): time 0.003673/0.1626, allocations: 1.889 MB / 0.8796 GB, free: 11.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1627, allocations: 89.52 kB / 0.8796 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/0.1662, allocations: 3.321 MB / 0.8829 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.1665, allocations: 81.7 kB / 0.883 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/0.1681, allocations: 2.295 MB / 0.8852 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008539/0.169, allocations: 0.9721 MB / 0.8862 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000637/0.1696, allocations: 0.6607 MB / 0.8868 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.1697, allocations: 305.1 kB / 0.8871 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.1703, allocations: 456.4 kB / 0.8875 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.1715, allocations: 1.701 MB / 0.8892 GB, free: 488 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/0.1739, allocations: 2.438 MB / 0.8916 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.958e-05/0.174, allocations: 12 kB / 0.8916 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.003446/0.1774, allocations: 2.293 MB / 0.8938 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.1775, allocations: 24 kB / 0.8938 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.1775, allocations: 44 kB / 0.8939 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.1785, allocations: 364.3 kB / 0.8942 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.1801, allocations: 0.8151 MB / 0.895 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003067/0.1831, allocations: 3.682 MB / 0.8986 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.1859, allocations: 377.2 kB / 0.899 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.1861, allocations: 148 kB / 0.8991 GB, free: 5.492 MB / 0.8542 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.001519/0.1876, allocations: 367.3 kB / 0.8995 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008208/0.1884, allocations: 347.6 kB / 0.8998 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.1906, allocations: 1.6 MB / 0.9014 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.1906, allocations: 31.94 kB / 0.9014 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1906, allocations: 4 kB / 0.9014 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.1918, allocations: 1.183 MB / 0.9026 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007836/0.1997, allocations: 4.7 MB / 0.9071 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.1997, allocations: 4.562 kB / 0.9071 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.2007, allocations: 459.4 kB / 0.9076 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009089/0.2016, allocations: 324.3 kB / 0.9079 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.2018, allocations: 71.95 kB / 0.908 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.2045, allocations: 3.616 MB / 0.9115 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.2045, allocations: 7.938 kB / 0.9115 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.2077, allocations: 2.179 MB / 0.9136 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.2092, allocations: 0.585 MB / 0.9142 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/0.2097, allocations: 67.98 kB / 0.9143 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.2109, allocations: 103.8 kB / 0.9144 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.2111, allocations: 181.5 kB / 0.9145 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.2112, allocations: 87.84 kB / 0.9146 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001729/0.213, allocations: 1.7 MB / 0.9163 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.213, allocations: 0 / 0.9163 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003549/0.2165, allocations: 1.82 MB / 0.9181 GB, free: 1.422 MB / 0.8698 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.0008407/0.2174, allocations: 267.7 kB / 0.9183 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.22, allocations: 1.91 MB / 0.9202 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.444e-05/0.22, allocations: 55.84 kB / 0.9202 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.2212, allocations: 1.018 MB / 0.9212 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007266/0.2284, allocations: 2.648 MB / 0.9238 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.2428, allocations: 9.364 MB / 0.933 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.2441, allocations: 1.289 MB / 0.9342 GB, free: 0.7109 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002884/0.247, allocations: 0.7891 MB / 0.935 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003732/0.2507, allocations: 1.574 MB / 0.9365 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of SimCode: time 1.723e-06/0.2507, allocations: 0 / 0.9365 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of Templates: time 0.136/0.3867, allocations: 98.81 MB / 1.033 GB, free: 13.22 MB / 0.9948 GB " [Timeout remaining time 300] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.529273725114763]