Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007816/0.007816, allocations: 100.4 kB / 15.73 MB, free: 6.062 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.001751/0.001751, allocations: 200 kB / 16.68 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 59.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9079/0.9093, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.04214/0.9515, allocations: 32.76 MB / 1.12 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02544/0.977, allocations: 10.48 MB / 1.13 GB, free: 6.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003513/0.9806, allocations: 52.84 kB / 1.13 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.9842, allocations: 0.7356 MB / 1.131 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006871/0.9911, allocations: 1.565 MB / 1.132 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005135/0.9962, allocations: 1.421 MB / 1.134 GB, free: 4.852 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008511/1.005, allocations: 4.878 MB / 1.139 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004147/1.009, allocations: 2.073 MB / 1.141 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006283/1.015, allocations: 1.94 MB / 1.142 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003882/1.019, allocations: 1.355 MB / 1.144 GB, free: 280 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005614/1.02, allocations: 144.7 kB / 1.144 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/1.024, allocations: 1.174 MB / 1.145 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008346/1.025, allocations: 475 kB / 1.146 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/1.027, allocations: 1.004 MB / 1.147 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007735/1.035, allocations: 2.944 MB / 1.149 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.035, allocations: 0 / 1.149 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.875e-06/1.035, allocations: 0 / 1.149 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001109/1.035, allocations: 1.375 kB / 1.149 GB, free: 13.98 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.006614/1.042, allocations: 2.387 MB / 1.152 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.042, allocations: 9.938 kB / 1.152 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/1.044, allocations: 384.9 kB / 1.152 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004207/1.048, allocations: 1.727 MB / 1.154 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/1.048, allocations: 85.5 kB / 1.154 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/1.049, allocations: 105.4 kB / 1.154 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/1.051, allocations: 1.311 MB / 1.155 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/1.051, allocations: 1.25 kB / 1.155 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/1.052, allocations: 43.73 kB / 1.155 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/1.052, allocations: 24.12 kB / 1.155 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/1.054, allocations: 1.026 MB / 1.156 GB, free: 10.36 MB / 0.9044 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.01001/1.064, allocations: 6.543 MB / 1.163 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.066, allocations: 0.6407 MB / 1.163 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/1.066, allocations: 410.8 kB / 1.164 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003175/1.07, allocations: 1.713 MB / 1.165 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008605/1.07, allocations: 381.3 kB / 1.166 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006845/1.071, allocations: 91.03 kB / 1.166 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/1.071, allocations: 0 / 1.166 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.003835/1.075, allocations: 1.366 MB / 1.167 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.075, allocations: 56.31 kB / 1.167 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/1.078, allocations: 1.8 MB / 1.169 GB, free: 0.8555 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/1.078, allocations: 42.98 kB / 1.169 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008346/1.079, allocations: 0.8517 MB / 1.17 GB, free: 64 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/1.079, allocations: 159.3 kB / 1.17 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/1.079, allocations: 191.3 kB / 1.17 GB, free: 15.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.08, allocations: 337.9 kB / 1.171 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/1.08, allocations: 341.7 kB / 1.171 GB, free: 15.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.081, allocations: 0.7592 MB / 1.172 GB, free: 14.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/1.083, allocations: 1.031 MB / 1.173 GB, free: 13.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/1.083, allocations: 2.75 kB / 1.173 GB, free: 13.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003068/1.086, allocations: 1.35 MB / 1.174 GB, free: 13.05 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/1.086, allocations: 37.67 kB / 1.174 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.086, allocations: 10.59 kB / 1.174 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006914/1.087, allocations: 191.4 kB / 1.174 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007103/1.088, allocations: 177.2 kB / 1.174 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007048/1.088, allocations: 0.7585 MB / 1.175 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.09, allocations: 57.69 kB / 1.175 GB, free: 12.22 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.09, allocations: 47.55 kB / 1.175 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001464/1.091, allocations: 0.7404 MB / 1.176 GB, free: 11.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009448/1.092, allocations: 0.7248 MB / 1.177 GB, free: 11.05 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001486/1.094, allocations: 0.9712 MB / 1.178 GB, free: 10.29 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.202e-06/1.094, allocations: 2.719 kB / 1.178 GB, free: 10.29 MB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002664/1.097, allocations: 1.309 MB / 1.179 GB, free: 9.543 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/1.097, allocations: 35.55 kB / 1.179 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/1.097, allocations: 10.78 kB / 1.179 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002767/1.097, allocations: 131.2 kB / 1.179 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/1.098, allocations: 171 kB / 1.179 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/1.1, allocations: 2.318 MB / 1.181 GB, free: 7.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.102, allocations: 68.28 kB / 1.181 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.734e-05/1.102, allocations: 46.83 kB / 1.182 GB, free: 7.328 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004113/1.102, allocations: 245.5 kB / 1.182 GB, free: 7.102 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/1.102, allocations: 182.1 kB / 1.182 GB, free: 7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/1.105, allocations: 1.044 MB / 1.183 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/1.105, allocations: 4.625 kB / 1.183 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.105, allocations: 0.9375 kB / 1.183 GB, free: 6.422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001787/1.107, allocations: 0.9855 MB / 1.184 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/1.112, allocations: 2.157 MB / 1.186 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.112, allocations: 1.125 kB / 1.186 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005362/1.113, allocations: 92.3 kB / 1.186 GB, free: 4.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/1.113, allocations: 126.1 kB / 1.186 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/1.113, allocations: 22.41 kB / 1.186 GB, free: 4.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007643/1.114, allocations: 0.738 MB / 1.187 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.114, allocations: 1.406 kB / 1.187 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/1.118, allocations: 1.419 MB / 1.188 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009817/1.118, allocations: 303 kB / 1.189 GB, free: 2.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/1.119, allocations: 11.41 kB / 1.189 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.12, allocations: 35.45 kB / 1.189 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.12, allocations: 39.8 kB / 1.189 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/1.12, allocations: 30.78 kB / 1.189 GB, free: 2.422 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003277/1.124, allocations: 1.243 MB / 1.19 GB, free: 1.734 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.6e-07/1.124, allocations: 0 / 1.19 GB, free: 1.734 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004297/1.128, allocations: 0.7792 MB / 1.191 GB, free: 1.59 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (39): * Single equations (assignments): 33 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/1.13, allocations: 399.6 kB / 1.191 GB, free: 1.363 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004058/1.134, allocations: 1.532 MB / 1.193 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.134, allocations: 5.312 kB / 1.193 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009589/1.135, allocations: 351.5 kB / 1.193 GB, free: 356 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/1.139, allocations: 0.7737 MB / 1.194 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/1.146, allocations: 2.906 MB / 1.197 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/1.148, allocations: 1.491 MB / 1.198 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002057/1.15, allocations: 458 kB / 1.198 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/1.15, allocations: 131.4 kB / 1.199 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of SimCode: time 2.164e-06/1.15, allocations: 0 / 1.199 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of Templates: time 0.06332/1.214, allocations: 32.4 MB / 1.23 GB, free: 10.77 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches