Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 249.3 MB / 261.8 MB, free: 5.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000825/0.0008255, allocations: 86.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.165e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.218, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.643/1.861, allocations: 415.3 MB / 1.297 GB, free: 257 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.861, allocations: 90.41 kB / 1.297 GB, free: 257 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.6/10.46, allocations: 2.273 GB / 3.57 GB, free: 78.78 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.695e-06/10.46, allocations: 0 / 3.57 GB, free: 78.78 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001617/10.46, allocations: 251.5 kB / 3.57 GB, free: 78.54 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03255/10.5, allocations: 7.308 MB / 3.577 GB, free: 71.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.136e-05/10.5, allocations: 8.031 kB / 3.577 GB, free: 71.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009935/10.51, allocations: 1.229 MB / 3.579 GB, free: 69.92 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03583/10.54, allocations: 12.54 MB / 3.591 GB, free: 57.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005971/10.54, allocations: 440.3 kB / 3.591 GB, free: 56.93 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003797/10.55, allocations: 0.5896 MB / 3.592 GB, free: 56.34 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/10.59, allocations: 13.46 MB / 3.605 GB, free: 42.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003564/10.59, allocations: 27.62 kB / 3.605 GB, free: 42.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003521/10.6, allocations: 240 kB / 3.605 GB, free: 42.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/10.6, allocations: 140 kB / 3.605 GB, free: 42.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02755/10.62, allocations: 18.07 MB / 3.623 GB, free: 24.14 MB / 0.9167 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.8471/11.47, allocations: 55.37 MB / 3.677 GB, free: 85.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01591/11.49, allocations: 8.688 MB / 3.686 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0171/11.5, allocations: 9.258 MB / 3.695 GB, free: 85.14 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05501/11.56, allocations: 26.31 MB / 3.72 GB, free: 78.25 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01077/11.57, allocations: 7.305 MB / 3.727 GB, free: 78.14 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05049/11.62, allocations: 21.17 MB / 3.748 GB, free: 77.88 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 3.858e-05/11.62, allocations: 4 kB / 3.748 GB, free: 77.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.03186/11.65, allocations: 14.49 MB / 3.762 GB, free: 77.43 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/11.65, allocations: 86.94 kB / 3.762 GB, free: 77.36 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/11.67, allocations: 7.388 MB / 3.77 GB, free: 76.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002696/11.67, allocations: 100.6 kB / 3.77 GB, free: 76.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004584/11.67, allocations: 4.009 MB / 3.774 GB, free: 75.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003563/11.68, allocations: 1.085 MB / 3.775 GB, free: 75.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/11.68, allocations: 93.88 kB / 3.775 GB, free: 75.45 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003615/11.68, allocations: 497.3 kB / 3.775 GB, free: 75.13 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008085/11.69, allocations: 6.07 MB / 3.781 GB, free: 75.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/11.7, allocations: 7.89 MB / 3.789 GB, free: 72.86 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/11.71, allocations: 6.999 MB / 3.796 GB, free: 72.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.124e-05/11.71, allocations: 13.69 kB / 3.796 GB, free: 72.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03215/11.74, allocations: 16.36 MB / 3.812 GB, free: 72.03 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00711/11.75, allocations: 25.25 MB / 3.836 GB, free: 61.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/11.75, allocations: 52.11 kB / 3.836 GB, free: 61.38 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06221/11.81, allocations: 10.88 MB / 3.847 GB, free: 60.57 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009228/11.82, allocations: 1.608 MB / 3.849 GB, free: 60.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009364/11.83, allocations: 6.315 MB / 3.855 GB, free: 57.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01702/11.85, allocations: 0.5908 MB / 3.855 GB, free: 57.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003595/11.85, allocations: 0.548 MB / 3.856 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/11.85, allocations: 3.562 kB / 3.856 GB, free: 57.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.026/11.88, allocations: 15.71 MB / 3.871 GB, free: 57.14 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/11.88, allocations: 46.31 kB / 3.871 GB, free: 57.14 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06048/11.94, allocations: 10.61 MB / 3.882 GB, free: 56.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00946/11.95, allocations: 1.602 MB / 3.883 GB, free: 56.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/11.96, allocations: 10.19 MB / 3.893 GB, free: 51.36 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01414/11.98, allocations: 0.5707 MB / 3.894 GB, free: 51.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003313/11.98, allocations: 0.5407 MB / 3.894 GB, free: 51.18 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.003221/11.98, allocations: 405.2 kB / 3.895 GB, free: 50.94 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004124/11.99, allocations: 0.7523 MB / 3.895 GB, free: 50.54 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02897/12.02, allocations: 13.48 MB / 3.908 GB, free: 45 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/12.02, allocations: 36.41 kB / 3.908 GB, free: 45 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/12.02, allocations: 3.75 kB / 3.908 GB, free: 45 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01368/12.03, allocations: 10.05 MB / 3.918 GB, free: 40.27 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04612/12.08, allocations: 23.72 MB / 3.941 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/12.08, allocations: 0 / 3.941 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004764/12.08, allocations: 0.6998 MB / 3.942 GB, free: 28.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06066/12.14, allocations: 9.927 MB / 3.952 GB, free: 20.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001336/12.14, allocations: 104.8 kB / 3.952 GB, free: 20.72 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/12.15, allocations: 4.311 MB / 3.956 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/12.15, allocations: 160 / 3.956 GB, free: 16.46 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02849/12.18, allocations: 18.31 MB / 3.974 GB, free: 0 / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008917/12.18, allocations: 1.99 MB / 3.976 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004031/12.19, allocations: 74.31 kB / 3.976 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009691/12.2, allocations: 421.1 kB / 3.976 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001445/12.2, allocations: 223.8 kB / 3.977 GB, free: 13.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008026/12.2, allocations: 161.1 kB / 3.977 GB, free: 13.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01312/12.21, allocations: 5.726 MB / 3.982 GB, free: 8.832 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.264e-06/12.21, allocations: 4 kB / 3.982 GB, free: 8.828 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02833/12.24, allocations: 4.922 MB / 3.987 GB, free: 4.168 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00468/12.25, allocations: 1.266 MB / 3.988 GB, free: 3.234 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.7569/13, allocations: 23.74 MB / 4.012 GB, free: 126.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/13, allocations: 4.031 kB / 4.012 GB, free: 126.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01192/13.02, allocations: 6.089 MB / 4.018 GB, free: 126.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02978/13.05, allocations: 4.606 MB / 4.022 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03821/13.08, allocations: 17.13 MB / 4.039 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005653/13.09, allocations: 5.373 MB / 4.044 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0325/13.12, allocations: 7.764 MB / 4.052 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005414/13.13, allocations: 0.7707 MB / 4.052 GB, free: 122.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.282e-06/13.13, allocations: 0 / 4.052 GB, free: 122.9 MB / 0.948 GB Notification: Performance of Templates: time 0.3282/13.46, allocations: 227.4 MB / 4.274 GB, free: 39.86 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Examples_Performance_Example1v2.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches