Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001045/0.001045, allocations: 172.9 kB / 487.4 MB, free: 5.066 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.499/1.499, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.0008389, allocations: 91.8 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.7e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3044, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.545, allocations: 418.9 MB / 1.615 GB, free: 2.805 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/1.546, allocations: 91.02 kB / 1.615 GB, free: 2.762 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.209/6.755, allocations: 1.331 GB / 2.946 GB, free: 138.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.805e-06/6.755, allocations: 0 / 2.946 GB, free: 138.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000962/6.756, allocations: 96.69 kB / 2.946 GB, free: 138.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0144/6.77, allocations: 3.119 MB / 2.949 GB, free: 134.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/6.77, allocations: 8.562 kB / 2.949 GB, free: 134.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/6.775, allocations: 0.6281 MB / 2.95 GB, free: 134.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/6.79, allocations: 4.367 MB / 2.954 GB, free: 129.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/6.79, allocations: 48 kB / 2.954 GB, free: 129.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/6.791, allocations: 112 kB / 2.954 GB, free: 129.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003068/6.794, allocations: 1.634 MB / 2.956 GB, free: 128.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/6.797, allocations: 1.825 MB / 2.957 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.71e-05/6.797, allocations: 7.938 kB / 2.957 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/6.797, allocations: 4 kB / 2.957 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/6.797, allocations: 40 kB / 2.957 GB, free: 126.1 MB / 1.167 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.01797/6.815, allocations: 11.26 MB / 2.968 GB, free: 114.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/6.817, allocations: 1.25 MB / 2.97 GB, free: 113 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009539/6.818, allocations: 0.9069 MB / 2.971 GB, free: 112.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00604/6.824, allocations: 3.414 MB / 2.974 GB, free: 108.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008167/6.825, allocations: 0.6564 MB / 2.975 GB, free: 107.8 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002246/6.827, allocations: 0.5805 MB / 2.975 GB, free: 107.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 3.676e-06/6.827, allocations: 0 / 2.975 GB, free: 107.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.007276/6.835, allocations: 2.455 MB / 2.977 GB, free: 104.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/6.835, allocations: 67.72 kB / 2.978 GB, free: 104.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/6.838, allocations: 2.209 MB / 2.98 GB, free: 102.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/6.838, allocations: 37.7 kB / 2.98 GB, free: 102.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/6.839, allocations: 1.409 MB / 2.981 GB, free: 101 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/6.84, allocations: 339.1 kB / 2.981 GB, free: 100.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-05/6.84, allocations: 0 / 2.981 GB, free: 100.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001097/6.84, allocations: 357.9 kB / 2.982 GB, free: 100.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/6.841, allocations: 0.5311 MB / 2.982 GB, free: 99.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009522/6.841, allocations: 1.268 MB / 2.984 GB, free: 98.17 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004558/6.846, allocations: 1.322 MB / 2.985 GB, free: 96.84 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/6.846, allocations: 4 kB / 2.985 GB, free: 96.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007844/6.854, allocations: 2.928 MB / 2.988 GB, free: 93.92 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001509/6.855, allocations: 5.949 MB / 2.993 GB, free: 87.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/6.856, allocations: 12 kB / 2.994 GB, free: 87.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008509/6.856, allocations: 445.6 kB / 2.994 GB, free: 86.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/6.858, allocations: 273.5 kB / 2.994 GB, free: 86.66 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/6.859, allocations: 2.022 MB / 2.996 GB, free: 84.59 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/6.862, allocations: 152.1 kB / 2.996 GB, free: 84.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/6.862, allocations: 75.97 kB / 2.996 GB, free: 84.37 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/6.862, allocations: 4 kB / 2.996 GB, free: 84.36 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006406/6.869, allocations: 2.524 MB / 2.999 GB, free: 81.81 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/6.869, allocations: 16 kB / 2.999 GB, free: 81.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007277/6.87, allocations: 416.7 kB / 2.999 GB, free: 81.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/6.871, allocations: 269.4 kB / 3 GB, free: 81.12 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/6.876, allocations: 5.613 MB / 3.005 GB, free: 75.28 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/6.879, allocations: 152.1 kB / 3.005 GB, free: 75.13 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/6.879, allocations: 67.98 kB / 3.005 GB, free: 75.07 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004662/6.88, allocations: 155 kB / 3.005 GB, free: 74.91 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/6.88, allocations: 280.4 kB / 3.006 GB, free: 74.63 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/6.887, allocations: 2.59 MB / 3.008 GB, free: 72.05 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/6.887, allocations: 12 kB / 3.008 GB, free: 72.04 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/6.887, allocations: 0 / 3.008 GB, free: 72.04 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005271/6.892, allocations: 2.328 MB / 3.01 GB, free: 69.67 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/6.903, allocations: 4.383 MB / 3.015 GB, free: 65.26 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/6.903, allocations: 0 / 3.015 GB, free: 65.26 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006996/6.903, allocations: 141.7 kB / 3.015 GB, free: 65.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006606/6.904, allocations: 385.2 kB / 3.015 GB, free: 64.74 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.168e-05/6.904, allocations: 15.98 kB / 3.015 GB, free: 64.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/6.905, allocations: 1.861 MB / 3.017 GB, free: 62.81 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/6.905, allocations: 3.953 kB / 3.017 GB, free: 62.81 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007066/6.913, allocations: 3.29 MB / 3.02 GB, free: 59.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/6.914, allocations: 493.2 kB / 3.021 GB, free: 59 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005428/6.915, allocations: 7.953 kB / 3.021 GB, free: 58.99 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/6.917, allocations: 137.5 kB / 3.021 GB, free: 58.86 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/6.917, allocations: 65.22 kB / 3.021 GB, free: 58.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/6.917, allocations: 43.91 kB / 3.021 GB, free: 58.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003111/6.92, allocations: 1.682 MB / 3.023 GB, free: 57.07 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/6.92, allocations: 0 / 3.023 GB, free: 57.07 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.007693/6.928, allocations: 1.388 MB / 3.024 GB, free: 55.68 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (60): * Single equations (assignments): 52 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002531/6.93, allocations: 1.05 MB / 3.025 GB, free: 54.75 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004384/6.935, allocations: 2.774 MB / 3.028 GB, free: 51.93 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/6.935, allocations: 0 / 3.028 GB, free: 51.93 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008442/6.936, allocations: 0.6437 MB / 3.028 GB, free: 51.29 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005404/6.941, allocations: 1.056 MB / 3.029 GB, free: 50.27 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/6.947, allocations: 3.815 MB / 3.033 GB, free: 46.43 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/6.949, allocations: 2.1 MB / 3.035 GB, free: 44.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004781/6.954, allocations: 1.413 MB / 3.037 GB, free: 42.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/6.954, allocations: 135.4 kB / 3.037 GB, free: 42.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.213e-06/6.954, allocations: 0 / 3.037 GB, free: 42.8 MB / 1.167 GB Notification: Performance of Templates: time 0.9444/7.898, allocations: 53.33 MB / 3.089 GB, free: 212 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches