Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009372/0.0009372, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009414/0.0009414, allocations: 185.3 kB / 24.09 MB, free: 416 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.9382/0.9382, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.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_11_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_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 3.984 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.952e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01269/0.01271, allocations: 16.31 MB / 0.8035 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.008959/0.02167, allocations: 6.04 MB / 0.8094 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.02323, allocations: 99.19 kB / 0.8095 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.02427, allocations: 0.5349 MB / 0.81 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.02716, allocations: 1.817 MB / 0.8118 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.02933, allocations: 1.486 MB / 0.8132 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01464/0.04398, allocations: 21.76 MB / 0.8345 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009128/0.05311, allocations: 7.381 MB / 0.8417 GB, free: 4.539 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01621/0.06932, allocations: 10.08 MB / 0.8515 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008017/0.07733, allocations: 6.534 MB / 0.8579 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/0.07852, allocations: 0.9219 MB / 0.8588 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.08098, allocations: 1.187 MB / 0.8599 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0016/0.08258, allocations: 2.488 MB / 0.8624 GB, free: 15.41 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003752/0.08633, allocations: 3.314 MB / 0.8656 GB, free: 12.09 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006745/0.09307, allocations: 7.961 MB / 0.8734 GB, free: 4.105 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.09308, allocations: 0 / 0.8734 GB, free: 4.105 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.342e-06/0.09308, allocations: 0 / 0.8734 GB, free: 4.105 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001099/0.09319, allocations: 0 / 0.8734 GB, free: 4.105 MB / 0.823 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.008475/0.1017, allocations: 8.579 MB / 0.8818 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.1017, allocations: 23.95 kB / 0.8818 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.1039, allocations: 1.51 MB / 0.8833 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.1093, allocations: 5.117 MB / 0.8883 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.1095, allocations: 460.6 kB / 0.8887 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006022/0.1101, allocations: 0.6097 MB / 0.8893 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006037/0.1162, allocations: 6.146 MB / 0.8953 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.028e-05/0.1163, allocations: 27.81 kB / 0.8953 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003755/0.1166, allocations: 256 kB / 0.8956 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/0.1168, allocations: 183.9 kB / 0.8957 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.1194, allocations: 1.957 MB / 0.8977 GB, free: 10.38 MB / 0.8542 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.02367/0.143, allocations: 26.71 MB / 0.9237 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.1449, allocations: 1.644 MB / 0.9253 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/0.1463, allocations: 1.324 MB / 0.9266 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000441/0.1468, allocations: 204.3 kB / 0.9268 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001703/0.1485, allocations: 2.085 MB / 0.9289 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001459/0.1499, allocations: 329.7 kB / 0.9292 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=317): time 5.491e-06/0.15, allocations: 0 / 0.9292 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of matching and sorting (n=317): time 0.003975/0.1539, allocations: 2.892 MB / 0.932 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.154, allocations: 81.91 kB / 0.9321 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.1576, allocations: 4.103 MB / 0.9361 GB, free: 2.086 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.1578, allocations: 89.7 kB / 0.9362 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.16, allocations: 3.538 MB / 0.9396 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007727/0.1608, allocations: 1.228 MB / 0.9408 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001649/0.1624, allocations: 0.949 MB / 0.9418 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1625, allocations: 480.8 kB / 0.9422 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006664/0.1632, allocations: 0.5177 MB / 0.9427 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.1651, allocations: 2.902 MB / 0.9456 GB, free: 7.328 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.1684, allocations: 3.716 MB / 0.9492 GB, free: 2.645 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-05/0.1684, allocations: 12 kB / 0.9492 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003851/0.1723, allocations: 3.53 MB / 0.9526 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.1724, allocations: 53.7 kB / 0.9527 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.876e-05/0.1724, allocations: 52.12 kB / 0.9527 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.1734, allocations: 410.4 kB / 0.9531 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/0.1753, allocations: 0.9516 MB / 0.9541 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.1785, allocations: 5.155 MB / 0.9591 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.1804, allocations: 175.7 kB / 0.9593 GB, free: 8.035 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.1806, allocations: 187.9 kB / 0.9594 GB, free: 7.852 MB / 0.9167 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.001395/0.182, allocations: 457.7 kB / 0.9599 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005958/0.1826, allocations: 0.5906 MB / 0.9605 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.1856, allocations: 2.378 MB / 0.9628 GB, free: 4.359 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.1857, allocations: 32 kB / 0.9628 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1857, allocations: 4 kB / 0.9628 GB, free: 4.324 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001844/0.1875, allocations: 1.777 MB / 0.9645 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007516/0.195, allocations: 6.253 MB / 0.9707 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.195, allocations: 4 kB / 0.9707 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.1963, allocations: 0.5853 MB / 0.9712 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008742/0.1971, allocations: 334.9 kB / 0.9715 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.1973, allocations: 79.95 kB / 0.9716 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.2002, allocations: 5.077 MB / 0.9766 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2002, allocations: 0 / 0.9766 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/0.2036, allocations: 3.086 MB / 0.9796 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.2049, allocations: 0.8696 MB / 0.9804 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/0.2052, allocations: 67.98 kB / 0.9805 GB, free: 1.641 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.2063, allocations: 116 kB / 0.9806 GB, free: 1.527 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/0.2066, allocations: 210 kB / 0.9808 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.2067, allocations: 119.9 kB / 0.9809 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001978/0.2087, allocations: 1.974 MB / 0.9829 GB, free: 15.23 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2087, allocations: 0 / 0.9829 GB, free: 15.23 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003904/0.2126, allocations: 2.007 MB / 0.9848 GB, free: 13.22 MB / 0.948 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.0004554/0.2131, allocations: 290.6 kB / 0.9851 GB, free: 12.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002906/0.216, allocations: 2.777 MB / 0.9878 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.216, allocations: 0 / 0.9878 GB, free: 10.07 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.2173, allocations: 1.43 MB / 0.9892 GB, free: 8.602 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/0.2228, allocations: 2.824 MB / 0.992 GB, free: 5.863 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.2351, allocations: 10.71 MB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.2365, allocations: 1.77 MB / 1.004 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002534/0.239, allocations: 0.8859 MB / 1.005 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003561/0.2426, allocations: 2.028 MB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of SimCode: time 1.954e-06/0.2426, allocations: 0 / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of Templates: time 0.455/0.6976, allocations: 108.3 MB / 1.113 GB, free: 259.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 7.468563336879015]