Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001005/0.001005, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001253/0.001253, allocations: 161 kB / 24.17 MB, free: 332 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 1.049/1.049, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.929/1.929, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.76 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.353e-05, allocations: 6.203 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01324/0.01327, allocations: 16.47 MB / 0.7761 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.02413, allocations: 6.221 MB / 0.7822 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.02566, allocations: 101 kB / 0.7823 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.02666, allocations: 0.531 MB / 0.7828 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.02956, allocations: 1.809 MB / 0.7846 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.03181, allocations: 1.465 MB / 0.786 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01411/0.04592, allocations: 21.83 MB / 0.8073 GB, free: 6.129 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009119/0.05504, allocations: 7.684 MB / 0.8148 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01395/0.06899, allocations: 10.07 MB / 0.8247 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00873/0.07772, allocations: 6.214 MB / 0.8307 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.07908, allocations: 0.9219 MB / 0.8316 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.08176, allocations: 1.204 MB / 0.8328 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.08349, allocations: 2.48 MB / 0.8352 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.004017/0.08751, allocations: 3.337 MB / 0.8385 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.007226/0.09473, allocations: 7.966 MB / 0.8463 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.09474, allocations: 0 / 0.8463 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.153e-06/0.09474, allocations: 1.125 kB / 0.8463 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001133/0.09485, allocations: 0 / 0.8463 GB, free: 14.32 MB / 0.8073 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.007815/0.1027, allocations: 7.741 MB / 0.8538 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1027, allocations: 12.03 kB / 0.8539 GB, free: 6.496 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.1048, allocations: 1.264 MB / 0.8551 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004922/0.1097, allocations: 3.802 MB / 0.8588 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.1099, allocations: 460.6 kB / 0.8592 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00062/0.1105, allocations: 0.6214 MB / 0.8598 GB, free: 260 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005517/0.1161, allocations: 6.031 MB / 0.8657 GB, free: 9.637 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.294e-05/0.1161, allocations: 19.83 kB / 0.8658 GB, free: 9.617 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.1165, allocations: 264 kB / 0.866 GB, free: 9.359 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.1167, allocations: 179.9 kB / 0.8662 GB, free: 9.184 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.1195, allocations: 2.091 MB / 0.8682 GB, free: 7.082 MB / 0.823 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.01801/0.1375, allocations: 18.99 MB / 0.8868 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.1391, allocations: 1.593 MB / 0.8883 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.1404, allocations: 1.223 MB / 0.8895 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/0.1408, allocations: 170.2 kB / 0.8897 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/0.1423, allocations: 2.087 MB / 0.8917 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/0.1435, allocations: 325.6 kB / 0.892 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=317): time 7.093e-06/0.1435, allocations: 0 / 0.892 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317): time 0.003388/0.1469, allocations: 2.191 MB / 0.8942 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1469, allocations: 85.91 kB / 0.8943 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.15, allocations: 3.678 MB / 0.8978 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.1501, allocations: 89.7 kB / 0.8979 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.1515, allocations: 2.539 MB / 0.9004 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006332/0.1522, allocations: 1.146 MB / 0.9015 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007599/0.1529, allocations: 0.7917 MB / 0.9023 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.153, allocations: 301.1 kB / 0.9026 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.1537, allocations: 0.5943 MB / 0.9032 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.1551, allocations: 2.097 MB / 0.9052 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.1576, allocations: 3.026 MB / 0.9082 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.1576, allocations: 20 kB / 0.9082 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003193/0.1608, allocations: 2.811 MB / 0.9109 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.125e-05/0.1608, allocations: 57.69 kB / 0.911 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.521e-05/0.1609, allocations: 48 kB / 0.911 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.162, allocations: 382 kB / 0.9114 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002048/0.164, allocations: 1.01 MB / 0.9124 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.1665, allocations: 3.682 MB / 0.916 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.1682, allocations: 183.9 kB / 0.9162 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/0.1685, allocations: 176 kB / 0.9163 GB, free: 3.242 MB / 0.8698 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.001216/0.1697, allocations: 413.4 kB / 0.9167 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004574/0.1701, allocations: 399.5 kB / 0.9171 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.1726, allocations: 1.955 MB / 0.919 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.1726, allocations: 32 kB / 0.919 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1726, allocations: 4 kB / 0.919 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.1741, allocations: 1.37 MB / 0.9204 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/0.1807, allocations: 5.228 MB / 0.9255 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1807, allocations: 0 / 0.9255 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.1823, allocations: 0.6399 MB / 0.9261 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000841/0.1831, allocations: 320.5 kB / 0.9264 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.1832, allocations: 75.89 kB / 0.9265 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.1855, allocations: 3.595 MB / 0.93 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1855, allocations: 0 / 0.93 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/0.1883, allocations: 2.47 MB / 0.9324 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.1893, allocations: 0.6087 MB / 0.933 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/0.1897, allocations: 71.98 kB / 0.9331 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.1908, allocations: 116.1 kB / 0.9332 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.191, allocations: 202.1 kB / 0.9334 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.1912, allocations: 91.84 kB / 0.9335 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001601/0.1928, allocations: 1.874 MB / 0.9353 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1e-07/0.1928, allocations: 0 / 0.9353 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003997/0.1968, allocations: 2.015 MB / 0.9373 GB, free: 13.27 MB / 0.9011 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.00051/0.1973, allocations: 262.2 kB / 0.9375 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.2001, allocations: 2.371 MB / 0.9398 GB, free: 10.57 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.932e-05/0.2002, allocations: 63.84 kB / 0.9399 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.2013, allocations: 1.158 MB / 0.941 GB, free: 9.316 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005131/0.2064, allocations: 2.794 MB / 0.9438 GB, free: 6.605 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.2176, allocations: 10.33 MB / 0.9538 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.2188, allocations: 1.415 MB / 0.9552 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002214/0.221, allocations: 0.8898 MB / 0.9561 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/0.2245, allocations: 1.711 MB / 0.9578 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of SimCode: time 1.784e-06/0.2245, allocations: 4 kB / 0.9578 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of Templates: time 0.4886/0.7132, allocations: 108.4 MB / 1.064 GB, free: 273.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.98812149791047]