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.001101/0.001101, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001301/0.001301, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9556/0.9556, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.064/2.064, allocations: 429.5 MB / 0.6732 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.343e-06/1.343e-06, allocations: 0 / 0.8781 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.622e-05, allocations: 6.25 kB / 0.8782 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.01236/0.01239, allocations: 15.49 MB / 0.8933 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.009253/0.02164, allocations: 5.584 MB / 0.8987 GB, free: 88 kB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.02389, allocations: 87.31 kB / 0.8988 GB, free: 0 / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.02512, allocations: 496.1 kB / 0.8993 GB, free: 15.51 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.02893, allocations: 1.635 MB / 0.9009 GB, free: 13.87 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.0312, allocations: 1.236 MB / 0.9021 GB, free: 12.63 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01641/0.0476, allocations: 20.22 MB / 0.9218 GB, free: 8.348 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.05847, allocations: 6.374 MB / 0.9281 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01795/0.07642, allocations: 9.272 MB / 0.9371 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.08668, allocations: 5.97 MB / 0.943 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.003288/0.08997, allocations: 0.8281 MB / 0.9438 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/0.09537, allocations: 1.105 MB / 0.9448 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004381/0.09975, allocations: 2.258 MB / 0.947 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.008108/0.1079, allocations: 3.049 MB / 0.95 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.1201, allocations: 7.257 MB / 0.9571 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1201, allocations: 0 / 0.9571 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1201, allocations: 0 / 0.9571 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004447/0.1206, allocations: 7.938 kB / 0.9571 GB, free: 4.16 MB / 0.8698 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.01382/0.1344, allocations: 8.133 MB / 0.9651 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1344, allocations: 8.031 kB / 0.9651 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.1373, allocations: 1.39 MB / 0.9664 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/0.1452, allocations: 5.052 MB / 0.9714 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.1455, allocations: 415.4 kB / 0.9718 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009103/0.1464, allocations: 0.5628 MB / 0.9723 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008506/0.1549, allocations: 5.888 MB / 0.9781 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.155, allocations: 19.83 kB / 0.9781 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004269/0.1555, allocations: 236 kB / 0.9783 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.1556, allocations: 164 kB / 0.9785 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/0.1599, allocations: 2.087 MB / 0.9805 GB, free: 11.47 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.02686/0.1868, allocations: 23.27 MB / 1.003 GB, free: 3.727 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.1893, allocations: 1.686 MB / 1.005 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.1909, allocations: 1.339 MB / 1.006 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.1913, allocations: 118 kB / 1.006 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.981e-05/0.1913, allocations: 75.5 kB / 1.006 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=267): time 4.909e-06/0.1914, allocations: 0 / 1.006 GB, free: 0.4961 MB / 0.9167 GB Notification: Performance of matching and sorting (n=267): time 0.005297/0.1966, allocations: 2.888 MB / 1.009 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002011/0.1968, allocations: 85.52 kB / 1.009 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004483/0.2013, allocations: 3.78 MB / 1.013 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.2017, allocations: 73.7 kB / 1.013 GB, free: 9.547 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.2036, allocations: 3.177 MB / 1.016 GB, free: 6.348 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/0.2048, allocations: 1.035 MB / 1.017 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007577/0.2056, allocations: 0.7821 MB / 1.018 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/0.2057, allocations: 476.8 kB / 1.018 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009136/0.2066, allocations: 0.5069 MB / 1.019 GB, free: 3.535 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.2083, allocations: 2.444 MB / 1.021 GB, free: 316 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4652/0.6736, allocations: 3.17 MB / 1.024 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-05/0.6736, allocations: 15.61 kB / 1.024 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005927/0.6795, allocations: 3.154 MB / 1.027 GB, free: 115 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.192e-05/0.6796, allocations: 30.38 kB / 1.027 GB, free: 115 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-05/0.6797, allocations: 39.69 kB / 1.027 GB, free: 115 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.6811, allocations: 402.4 kB / 1.028 GB, free: 115 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.6833, allocations: 0.8597 MB / 1.029 GB, free: 115 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.6867, allocations: 5.271 MB / 1.034 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/0.6897, allocations: 478.7 kB / 1.034 GB, free: 111.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.69, allocations: 181.1 kB / 1.034 GB, free: 111.1 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.001577/0.6916, allocations: 409.7 kB / 1.035 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009346/0.6925, allocations: 0.5165 MB / 1.035 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.6958, allocations: 2.155 MB / 1.037 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.6958, allocations: 26.91 kB / 1.038 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6958, allocations: 4.047 kB / 1.038 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/0.6981, allocations: 1.727 MB / 1.039 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.7097, allocations: 7.126 MB / 1.046 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.7097, allocations: 4.531 kB / 1.046 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.7109, allocations: 0.4999 MB / 1.047 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.7121, allocations: 355.6 kB / 1.047 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.7123, allocations: 76.28 kB / 1.047 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002845/0.7151, allocations: 5.219 MB / 1.052 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.7151, allocations: 8.625 kB / 1.052 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/0.72, allocations: 2.995 MB / 1.055 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/0.7221, allocations: 0.8899 MB / 1.056 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007063/0.7228, allocations: 60.28 kB / 1.056 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.7242, allocations: 174.5 kB / 1.056 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/0.7246, allocations: 189.3 kB / 1.056 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/0.7248, allocations: 129 kB / 1.056 GB, free: 104.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003255/0.7281, allocations: 1.971 MB / 1.058 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7281, allocations: 1.203 kB / 1.058 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004758/0.7328, allocations: 1.836 MB / 1.06 GB, free: 103.9 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.0006341/0.7335, allocations: 290 kB / 1.06 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003877/0.7374, allocations: 2.455 MB / 1.063 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.7374, allocations: 3.594 kB / 1.063 GB, free: 103.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.7388, allocations: 1.341 MB / 1.064 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007258/0.7461, allocations: 2.66 MB / 1.067 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.7589, allocations: 9.808 MB / 1.076 GB, free: 96.84 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.7607, allocations: 1.633 MB / 1.078 GB, free: 96.32 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004497/0.7652, allocations: 1.36 MB / 1.079 GB, free: 96.11 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009671/0.7662, allocations: 377.1 kB / 1.08 GB, free: 96.08 MB / 0.9323 GB Notification: Performance of SimCode: time 2.625e-06/0.7662, allocations: 0 / 1.08 GB, free: 96.08 MB / 0.9323 GB Notification: Performance of Templates: time 0.09139/0.8576, allocations: 96.91 MB / 1.174 GB, free: 7.133 MB / 0.9323 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 -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: 7.85507598426193]