Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 175.9 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 221.3 MB / 0.7871 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009317/0.0009315, allocations: 103.9 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.846e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2867, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.53, allocations: 425.6 MB / 1.628 GB, free: 4.957 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.53, allocations: 98.67 kB / 1.628 GB, free: 4.906 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.632/5.162, allocations: 0.9991 GB / 2.627 GB, free: 3.438 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/5.162, allocations: 0 / 2.627 GB, free: 3.438 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000285/5.162, allocations: 79.98 kB / 2.627 GB, free: 3.359 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.005622/5.168, allocations: 2.71 MB / 2.63 GB, free: 0.5898 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/5.168, allocations: 12.03 kB / 2.63 GB, free: 0.5781 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/5.169, allocations: 356 kB / 2.63 GB, free: 232 kB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9142/6.083, allocations: 3.091 MB / 2.633 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/6.084, allocations: 176.5 kB / 2.633 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007985/6.084, allocations: 235.8 kB / 2.634 GB, free: 269.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006938/6.091, allocations: 2.987 MB / 2.637 GB, free: 269.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/6.091, allocations: 8.062 kB / 2.637 GB, free: 269.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/6.092, allocations: 99.47 kB / 2.637 GB, free: 269.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/6.092, allocations: 69.89 kB / 2.637 GB, free: 269.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/6.097, allocations: 2.34 MB / 2.639 GB, free: 269.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.02148/6.118, allocations: 12.98 MB / 2.652 GB, free: 263.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/6.121, allocations: 1.621 MB / 2.653 GB, free: 263 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/6.123, allocations: 1.117 MB / 2.654 GB, free: 263 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007591/6.124, allocations: 0.714 MB / 2.655 GB, free: 262.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/6.124, allocations: 52.38 kB / 2.655 GB, free: 262.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002309/6.127, allocations: 230.1 kB / 2.655 GB, free: 262.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=126): time 6.221e-06/6.127, allocations: 1.094 kB / 2.655 GB, free: 262.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=126): time 0.003802/6.13, allocations: 1.7 MB / 2.657 GB, free: 262 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/6.13, allocations: 142.8 kB / 2.657 GB, free: 261.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/6.134, allocations: 1.89 MB / 2.659 GB, free: 261.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003716/6.135, allocations: 57.8 kB / 2.659 GB, free: 261.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001484/6.136, allocations: 1.263 MB / 2.66 GB, free: 261.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006512/6.137, allocations: 442.8 kB / 2.661 GB, free: 260.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/6.137, allocations: 35.91 kB / 2.661 GB, free: 260.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001533/6.137, allocations: 376.9 kB / 2.661 GB, free: 260.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/6.138, allocations: 0.6912 MB / 2.662 GB, free: 260.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/6.14, allocations: 1.215 MB / 2.663 GB, free: 260 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/6.142, allocations: 0.9259 MB / 2.664 GB, free: 260 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/6.142, allocations: 6.312 kB / 2.664 GB, free: 260 MB / 1.151 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004394/6.146, allocations: 2.324 MB / 2.666 GB, free: 259.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001265/6.147, allocations: 5.72 MB / 2.672 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/6.147, allocations: 12.44 kB / 2.672 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/6.149, allocations: 489.2 kB / 2.672 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/6.15, allocations: 351.7 kB / 2.673 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/6.153, allocations: 3.09 MB / 2.676 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/6.156, allocations: 237 kB / 2.676 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/6.156, allocations: 79.97 kB / 2.676 GB, free: 252 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/6.156, allocations: 7.125 kB / 2.676 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003395/6.16, allocations: 2.099 MB / 2.678 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/6.16, allocations: 17.8 kB / 2.678 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/6.16, allocations: 237.8 kB / 2.678 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/6.162, allocations: 373.2 kB / 2.679 GB, free: 251.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003735/6.165, allocations: 4.151 MB / 2.683 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/6.168, allocations: 216.1 kB / 2.683 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/6.168, allocations: 83.44 kB / 2.683 GB, free: 249.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.000604/6.169, allocations: 214.5 kB / 2.683 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006561/6.17, allocations: 209.5 kB / 2.683 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/6.174, allocations: 1.982 MB / 2.685 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/6.174, allocations: 16.2 kB / 2.685 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/6.174, allocations: 5.781 kB / 2.685 GB, free: 248.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002573/6.176, allocations: 1.588 MB / 2.687 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/6.189, allocations: 4.598 MB / 2.691 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/6.189, allocations: 1.031 kB / 2.691 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/6.19, allocations: 221.1 kB / 2.692 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/6.192, allocations: 437.2 kB / 2.692 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/6.192, allocations: 36.25 kB / 2.692 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/6.195, allocations: 3.001 MB / 2.695 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/6.195, allocations: 4.094 kB / 2.695 GB, free: 246.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00512/6.201, allocations: 2.934 MB / 2.698 GB, free: 246 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/6.203, allocations: 0.5253 MB / 2.698 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007601/6.203, allocations: 29.58 kB / 2.698 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/6.206, allocations: 190.7 kB / 2.698 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/6.206, allocations: 106.4 kB / 2.699 GB, free: 245.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/6.206, allocations: 55.67 kB / 2.699 GB, free: 245.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002331/6.208, allocations: 1.458 MB / 2.7 GB, free: 245.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/6.208, allocations: 0 / 2.7 GB, free: 245.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005176/6.214, allocations: 1.523 MB / 2.702 GB, free: 245.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001281/6.215, allocations: 0.5679 MB / 2.702 GB, free: 245.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005202/6.22, allocations: 3.315 MB / 2.705 GB, free: 245 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/6.22, allocations: 0 / 2.705 GB, free: 245 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/6.221, allocations: 0.9741 MB / 2.706 GB, free: 244.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/6.227, allocations: 1.127 MB / 2.707 GB, free: 244.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/6.238, allocations: 4.309 MB / 2.712 GB, free: 244 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/6.24, allocations: 2.217 MB / 2.714 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005024/6.245, allocations: 1.421 MB / 2.715 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/6.246, allocations: 140.9 kB / 2.715 GB, free: 243.2 MB / 1.151 GB Notification: Performance of SimCode: time 3.366e-06/6.246, allocations: 0 / 2.715 GB, free: 243.2 MB / 1.151 GB Notification: Performance of Templates: time 0.09058/6.336, allocations: 51.31 MB / 2.765 GB, free: 241.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.csv","../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches