Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00773/0.00773, allocations: 95.61 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 196.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 71.83 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2792, allocations: 151.6 MB / 1.167 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03141/0.3106, allocations: 30.06 MB / 1.196 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.3273, allocations: 11.73 MB / 1.207 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.3292, allocations: 51.69 kB / 1.207 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004676/0.3339, allocations: 1.487 MB / 1.209 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004338/0.3383, allocations: 1.621 MB / 1.21 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.3419, allocations: 1.465 MB / 1.212 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.3521, allocations: 6.725 MB / 1.218 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.3546, allocations: 1.4 MB / 1.22 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003451/0.3581, allocations: 1.483 MB / 1.221 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.36, allocations: 1.109 MB / 1.222 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004309/0.3605, allocations: 131.9 kB / 1.223 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3635, allocations: 1.31 MB / 1.224 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007252/0.3643, allocations: 0.5373 MB / 1.224 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.3659, allocations: 0.9716 MB / 1.225 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005004/0.3709, allocations: 3.051 MB / 1.228 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3709, allocations: 0 / 1.228 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3709, allocations: 0 / 1.228 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.628e-05/0.371, allocations: 0 / 1.228 GB, free: 7.582 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005214/0.3762, allocations: 2.438 MB / 1.231 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3763, allocations: 12.03 kB / 1.231 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.3782, allocations: 386.4 kB / 1.231 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.3828, allocations: 2.416 MB / 1.233 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.3828, allocations: 62 kB / 1.233 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.383, allocations: 88 kB / 1.234 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.3848, allocations: 1.017 MB / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3849, allocations: 0 / 1.234 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/0.385, allocations: 32 kB / 1.235 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.385, allocations: 23.98 kB / 1.235 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.3867, allocations: 0.757 MB / 1.235 GB, free: 188 kB / 0.9825 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.006525/0.3932, allocations: 5.248 MB / 1.24 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.3946, allocations: 0.5632 MB / 1.241 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.3953, allocations: 320.6 kB / 1.241 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/0.3975, allocations: 1.662 MB / 1.243 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/0.3983, allocations: 326.7 kB / 1.243 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003004/0.3986, allocations: 67.45 kB / 1.243 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.3986, allocations: 0 / 1.243 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.003262/0.4019, allocations: 1.232 MB / 1.244 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.4019, allocations: 55.41 kB / 1.245 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.4042, allocations: 1.873 MB / 1.246 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.4043, allocations: 45.64 kB / 1.246 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.405, allocations: 0.7921 MB / 1.247 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.4051, allocations: 162.7 kB / 1.247 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.4054, allocations: 266.4 kB / 1.248 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4056, allocations: 349.9 kB / 1.248 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008351/0.4064, allocations: 464.9 kB / 1.248 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.4075, allocations: 0.8276 MB / 1.249 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6343/1.042, allocations: 1.157 MB / 1.25 GB, free: 79.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/1.042, allocations: 5.438 kB / 1.25 GB, free: 79.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003801/1.046, allocations: 1.594 MB / 1.252 GB, free: 79.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/1.046, allocations: 36.62 kB / 1.252 GB, free: 79.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.046, allocations: 12.28 kB / 1.252 GB, free: 79.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007206/1.047, allocations: 193.2 kB / 1.252 GB, free: 79.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/1.047, allocations: 203.2 kB / 1.252 GB, free: 79.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/1.048, allocations: 0.765 MB / 1.253 GB, free: 79.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.049, allocations: 68.05 kB / 1.253 GB, free: 79.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.049, allocations: 49.67 kB / 1.253 GB, free: 79.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001669/1.051, allocations: 0.8618 MB / 1.254 GB, free: 79.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/1.052, allocations: 0.8148 MB / 1.255 GB, free: 78.64 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001688/1.054, allocations: 1.134 MB / 1.256 GB, free: 77.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.793e-06/1.054, allocations: 2 kB / 1.256 GB, free: 77.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003094/1.057, allocations: 1.601 MB / 1.257 GB, free: 77.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/1.057, allocations: 36.98 kB / 1.257 GB, free: 77.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.057, allocations: 8.719 kB / 1.257 GB, free: 77.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/1.057, allocations: 102.8 kB / 1.258 GB, free: 77.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/1.058, allocations: 194.5 kB / 1.258 GB, free: 77.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/1.06, allocations: 2.364 MB / 1.26 GB, free: 75.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/1.062, allocations: 76.11 kB / 1.26 GB, free: 75.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.613e-05/1.062, allocations: 49.48 kB / 1.26 GB, free: 75.37 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003092/1.062, allocations: 239.7 kB / 1.26 GB, free: 75.15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/1.062, allocations: 175 kB / 1.261 GB, free: 75.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002422/1.065, allocations: 0.9 MB / 1.261 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/1.065, allocations: 10.48 kB / 1.261 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.065, allocations: 0.5312 kB / 1.261 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001828/1.067, allocations: 0.897 MB / 1.262 GB, free: 74.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00442/1.071, allocations: 1.996 MB / 1.264 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.071, allocations: 1.062 kB / 1.264 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/1.072, allocations: 89.59 kB / 1.264 GB, free: 73.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003586/1.072, allocations: 124.5 kB / 1.265 GB, free: 73.24 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/1.072, allocations: 15.78 kB / 1.265 GB, free: 73.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007654/1.073, allocations: 0.7473 MB / 1.265 GB, free: 72.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.073, allocations: 9.781 kB / 1.265 GB, free: 72.64 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/1.076, allocations: 1.249 MB / 1.266 GB, free: 72.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/1.076, allocations: 317.7 kB / 1.267 GB, free: 71.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/1.076, allocations: 12.06 kB / 1.267 GB, free: 71.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006727/1.077, allocations: 41.28 kB / 1.267 GB, free: 71.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.077, allocations: 45.59 kB / 1.267 GB, free: 71.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/1.077, allocations: 22.03 kB / 1.267 GB, free: 71.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002613/1.08, allocations: 1.271 MB / 1.268 GB, free: 71.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.08, allocations: 1 kB / 1.268 GB, free: 71.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003568/1.084, allocations: 0.8189 MB / 1.269 GB, free: 71.22 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/1.085, allocations: 0.5124 MB / 1.269 GB, free: 71.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004416/1.09, allocations: 1.87 MB / 1.271 GB, free: 70.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.09, allocations: 1.188 kB / 1.271 GB, free: 70.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009693/1.091, allocations: 332.6 kB / 1.272 GB, free: 70.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.094, allocations: 0.7951 MB / 1.272 GB, free: 69.99 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/1.101, allocations: 3.035 MB / 1.275 GB, free: 68.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.102, allocations: 1.441 MB / 1.277 GB, free: 67.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00228/1.104, allocations: 442 kB / 1.277 GB, free: 67.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/1.105, allocations: 133.1 kB / 1.277 GB, free: 67.66 MB / 0.9981 GB Notification: Performance of SimCode: time 1.633e-06/1.105, allocations: 5.281 kB / 1.277 GB, free: 67.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.06958/1.174, allocations: 33.62 MB / 1.31 GB, free: 56.84 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches