Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.00104/0.00104, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001056/0.001056, allocations: 169 kB / 23.27 MB, free: 1.223 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.9319/0.9319, allocations: 177.2 MB / 203.7 MB, free: 5.5 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.357/2.357, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.555e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01812/0.01816, allocations: 16.37 MB / 0.9057 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.009873/0.02803, allocations: 6.036 MB / 0.9116 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.03024, allocations: 99.19 kB / 0.9117 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.03149, allocations: 0.5388 MB / 0.9122 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.0354, allocations: 1.806 MB / 0.914 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.03812, allocations: 1.474 MB / 0.9154 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01562/0.05374, allocations: 21.84 MB / 0.9368 GB, free: 9.426 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009476/0.06321, allocations: 7.023 MB / 0.9436 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01887/0.08208, allocations: 10.16 MB / 0.9535 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.09215, allocations: 6.492 MB / 0.9599 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.002944/0.09509, allocations: 0.9219 MB / 0.9608 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005817/0.1009, allocations: 1.21 MB / 0.962 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.003978/0.1049, allocations: 2.488 MB / 0.9644 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.007975/0.1129, allocations: 3.349 MB / 0.9677 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.1232, allocations: 7.989 MB / 0.9755 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1232, allocations: 4 kB / 0.9755 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1232, allocations: 0 / 0.9755 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003256/0.1236, allocations: 0 / 0.9755 GB, free: 1.734 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01229/0.1359, allocations: 8.591 MB / 0.9839 GB, free: 9.051 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.1359, allocations: 12.62 kB / 0.9839 GB, free: 9.039 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.1391, allocations: 1.506 MB / 0.9853 GB, free: 7.527 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00811/0.1472, allocations: 5.128 MB / 0.9903 GB, free: 2.316 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/0.1475, allocations: 456.6 kB / 0.9908 GB, free: 1.867 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.1486, allocations: 0.6175 MB / 0.9914 GB, free: 1.25 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008242/0.1569, allocations: 6.149 MB / 0.9974 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.157, allocations: 27.81 kB / 0.9974 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/0.1575, allocations: 260 kB / 0.9977 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/0.1576, allocations: 176 kB / 0.9978 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.1615, allocations: 1.965 MB / 0.9998 GB, free: 7.992 MB / 0.9636 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.03097/0.1924, allocations: 26.78 MB / 1.026 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.1946, allocations: 1.635 MB / 1.028 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.1962, allocations: 1.316 MB / 1.029 GB, free: 9.688 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.1966, allocations: 208 kB / 1.029 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001592/0.1982, allocations: 2.097 MB / 1.031 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001592/0.1998, allocations: 321.7 kB / 1.031 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 1.149e-05/0.1998, allocations: 0 / 1.031 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.004582/0.2044, allocations: 2.892 MB / 1.034 GB, free: 3.844 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.2044, allocations: 81.91 kB / 1.034 GB, free: 3.75 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004394/0.2088, allocations: 4.095 MB / 1.038 GB, free: 15.63 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/0.2094, allocations: 89.7 kB / 1.038 GB, free: 15.54 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002565/0.212, allocations: 3.534 MB / 1.042 GB, free: 11.98 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/0.2136, allocations: 1.232 MB / 1.043 GB, free: 10.74 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009876/0.2146, allocations: 0.9452 MB / 1.044 GB, free: 9.777 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2147, allocations: 476.8 kB / 1.044 GB, free: 9.309 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007408/0.2154, allocations: 0.5216 MB / 1.045 GB, free: 8.773 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.2173, allocations: 2.898 MB / 1.048 GB, free: 4.891 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.2208, allocations: 3.72 MB / 1.051 GB, free: 208 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-05/0.2209, allocations: 16 kB / 1.051 GB, free: 192 kB / 1.01 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.43/0.6508, allocations: 3.523 MB / 1.055 GB, free: 163.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.6509, allocations: 67.56 kB / 1.055 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/0.651, allocations: 47.97 kB / 1.055 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.652, allocations: 399.3 kB / 1.055 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.6539, allocations: 0.9536 MB / 1.056 GB, free: 163.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.6564, allocations: 5.147 MB / 1.061 GB, free: 159.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.6593, allocations: 183.5 kB / 1.061 GB, free: 159.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/0.6598, allocations: 180.8 kB / 1.062 GB, free: 159.3 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * 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.00174/0.6615, allocations: 458.1 kB / 1.062 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.6625, allocations: 0.5886 MB / 1.063 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002768/0.6653, allocations: 2.378 MB / 1.065 GB, free: 158.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.6653, allocations: 32.69 kB / 1.065 GB, free: 158.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6653, allocations: 6.344 kB / 1.065 GB, free: 158.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/0.667, allocations: 1.784 MB / 1.067 GB, free: 158.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009494/0.6765, allocations: 6.268 MB / 1.073 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.6765, allocations: 3.953 kB / 1.073 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.6779, allocations: 0.5839 MB / 1.073 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.6789, allocations: 339.6 kB / 1.074 GB, free: 157.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002499/0.6792, allocations: 87.98 kB / 1.074 GB, free: 157.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.6814, allocations: 5.066 MB / 1.079 GB, free: 154 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.6814, allocations: 2.625 kB / 1.079 GB, free: 154 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/0.6856, allocations: 3.081 MB / 1.082 GB, free: 153.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/0.6876, allocations: 0.8845 MB / 1.083 GB, free: 153.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000623/0.6882, allocations: 70.86 kB / 1.083 GB, free: 153.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.6896, allocations: 111.2 kB / 1.083 GB, free: 153.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.6899, allocations: 207.2 kB / 1.083 GB, free: 153.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002053/0.6901, allocations: 123 kB / 1.083 GB, free: 153.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002091/0.6922, allocations: 1.973 MB / 1.085 GB, free: 152.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6922, allocations: 0 / 1.085 GB, free: 152.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005184/0.6974, allocations: 2.034 MB / 1.087 GB, free: 152.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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.0008432/0.6982, allocations: 293.5 kB / 1.087 GB, free: 152.6 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003999/0.7022, allocations: 2.776 MB / 1.09 GB, free: 152 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.7022, allocations: 2.625 kB / 1.09 GB, free: 152 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.7039, allocations: 1.437 MB / 1.091 GB, free: 151.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008507/0.7124, allocations: 2.811 MB / 1.094 GB, free: 151.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.7288, allocations: 10.71 MB / 1.105 GB, free: 146.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.7309, allocations: 1.775 MB / 1.106 GB, free: 146.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004025/0.735, allocations: 0.8792 MB / 1.107 GB, free: 145.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00648/0.7414, allocations: 2.022 MB / 1.109 GB, free: 145.7 MB / 1.01 GB Notification: Performance of SimCode: time 1.964e-06/0.7414, allocations: 3 kB / 1.109 GB, free: 145.7 MB / 1.01 GB Notification: Performance of Templates: time 0.1226/0.8641, allocations: 109.1 MB / 1.216 GB, free: 64.08 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.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.10218295827508]