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.398/1.398, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 184.1 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.952/1.952, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0008975/0.0008978, allocations: 93.19 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.000382, allocations: 8.844 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2525, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.313, allocations: 415.4 MB / 1.306 GB, free: 392 kB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.313, allocations: 98.73 kB / 1.306 GB, free: 340 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.177/10.49, allocations: 2.281 GB / 3.586 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.918e-06/10.49, allocations: 0 / 3.586 GB, free: 121.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002232/10.49, allocations: 253.2 kB / 3.587 GB, free: 121 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.0442/10.54, allocations: 9.465 MB / 3.596 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/10.54, allocations: 9.281 kB / 3.596 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/10.55, allocations: 1.237 MB / 3.597 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.044/10.59, allocations: 12.63 MB / 3.609 GB, free: 115.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008761/10.59, allocations: 439.8 kB / 3.61 GB, free: 115.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004052/10.6, allocations: 0.5827 MB / 3.61 GB, free: 115.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03483/10.63, allocations: 13.63 MB / 3.624 GB, free: 115 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006039/10.63, allocations: 26.25 kB / 3.624 GB, free: 115 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003771/10.64, allocations: 246.4 kB / 3.624 GB, free: 115 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/10.64, allocations: 142.8 kB / 3.624 GB, free: 115 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/10.67, allocations: 18.34 MB / 3.642 GB, free: 114.9 MB / 0.9167 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.1124/10.78, allocations: 55.46 MB / 3.696 GB, free: 92.99 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/10.79, allocations: 8.859 MB / 3.705 GB, free: 89.23 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05724/10.85, allocations: 26.33 MB / 3.731 GB, free: 69.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0124/10.86, allocations: 7.413 MB / 3.738 GB, free: 62.48 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04987/10.91, allocations: 21.18 MB / 3.758 GB, free: 41.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 4.244e-05/10.91, allocations: 3.062 kB / 3.758 GB, free: 41.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.05128/10.97, allocations: 22.54 MB / 3.781 GB, free: 18.79 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/10.97, allocations: 89.78 kB / 3.781 GB, free: 18.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01859/10.98, allocations: 7.467 MB / 3.788 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002684/10.99, allocations: 105.7 kB / 3.788 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00575/10.99, allocations: 4.003 MB / 3.792 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003737/11, allocations: 1.073 MB / 3.793 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/11, allocations: 92 kB / 3.793 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0007175/11, allocations: 499.8 kB / 3.794 GB, free: 5.469 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01245/11.01, allocations: 6.18 MB / 3.8 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01494/11.03, allocations: 7.999 MB / 3.807 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7371/11.76, allocations: 7.088 MB / 3.814 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.332e-05/11.77, allocations: 15.89 kB / 3.814 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04731/11.81, allocations: 16.57 MB / 3.83 GB, free: 135.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.005754/11.82, allocations: 25.25 MB / 3.855 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/11.82, allocations: 47.28 kB / 3.855 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06848/11.89, allocations: 10.89 MB / 3.866 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009068/11.9, allocations: 1.602 MB / 3.867 GB, free: 108.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008368/11.9, allocations: 6.373 MB / 3.874 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01492/11.92, allocations: 0.5974 MB / 3.874 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003558/11.92, allocations: 0.5487 MB / 3.875 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/11.92, allocations: 3.906 kB / 3.875 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03849/11.96, allocations: 15.91 MB / 3.89 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002735/11.96, allocations: 48.11 kB / 3.89 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06539/12.03, allocations: 10.62 MB / 3.901 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009726/12.04, allocations: 1.594 MB / 3.902 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/12.05, allocations: 10.37 MB / 3.912 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01364/12.07, allocations: 0.5771 MB / 3.913 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003207/12.07, allocations: 0.5309 MB / 3.913 GB, free: 100.7 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 () * Number of clocked 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.009838/12.08, allocations: 2.635 MB / 3.916 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004933/12.08, allocations: 0.7536 MB / 3.917 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03156/12.12, allocations: 13.66 MB / 3.93 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.124e-05/12.12, allocations: 33.16 kB / 3.93 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/12.12, allocations: 3.375 kB / 3.93 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01867/12.13, allocations: 10.26 MB / 3.94 GB, free: 99.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0485/12.18, allocations: 23.94 MB / 3.964 GB, free: 96.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/12.18, allocations: 0.5625 kB / 3.964 GB, free: 96.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005131/12.19, allocations: 0.7006 MB / 3.964 GB, free: 96.29 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06294/12.25, allocations: 9.939 MB / 3.974 GB, free: 95.53 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001408/12.25, allocations: 101.8 kB / 3.974 GB, free: 95.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004219/12.26, allocations: 4.322 MB / 3.978 GB, free: 92.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/12.26, allocations: 2.438 kB / 3.978 GB, free: 92.69 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02694/12.28, allocations: 18.52 MB / 3.996 GB, free: 91.76 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008878/12.29, allocations: 1.993 MB / 3.998 GB, free: 91.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003728/12.3, allocations: 76.69 kB / 3.998 GB, free: 91.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009207/12.31, allocations: 417.1 kB / 3.999 GB, free: 91.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/12.31, allocations: 225.9 kB / 3.999 GB, free: 91.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007619/12.31, allocations: 158.5 kB / 3.999 GB, free: 91.19 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01306/12.32, allocations: 5.799 MB / 4.005 GB, free: 90.94 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.01e-07/12.32, allocations: 0 / 4.005 GB, free: 90.94 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.03172/12.35, allocations: 4.927 MB / 4.01 GB, free: 90.74 MB / 0.9323 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) * Number of clocked states: 0 () * 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.00524/12.36, allocations: 1.278 MB / 4.011 GB, free: 90.43 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.04411/12.4, allocations: 23.56 MB / 4.034 GB, free: 82.71 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/12.4, allocations: 3.344 kB / 4.034 GB, free: 82.71 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/12.41, allocations: 6.193 MB / 4.04 GB, free: 79.67 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02725/12.44, allocations: 4.612 MB / 4.044 GB, free: 78.68 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0506/12.49, allocations: 22.33 MB / 4.066 GB, free: 65.58 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009054/12.5, allocations: 5.365 MB / 4.071 GB, free: 61.68 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02509/12.52, allocations: 4.946 MB / 4.076 GB, free: 57.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006349/12.53, allocations: 0.9167 MB / 4.077 GB, free: 57.14 MB / 0.9323 GB Notification: Performance of SimCode: time 2.184e-06/12.53, allocations: 4 kB / 4.077 GB, free: 57.14 MB / 0.9323 GB Notification: Performance of Templates: time 1.075/13.61, allocations: 219.7 MB / 4.292 GB, free: 138.8 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