Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001328/0.001328, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.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.472/2.472, allocations: 437.1 MB / 0.7107 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 64.72 kB / 0.8694 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2976, allocations: 151.6 MB / 1.017 GB, free: 10.93 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.6851/0.9827, allocations: 159.4 MB / 1.173 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006401/0.9892, allocations: 3.605 MB / 1.177 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006321/0.9898, allocations: 9.656 kB / 1.177 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.9906, allocations: 144 kB / 1.177 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.9923, allocations: 0.4957 MB / 1.177 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.9937, allocations: 403.2 kB / 1.178 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003083/0.9968, allocations: 2.555 MB / 1.18 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.998, allocations: 0.8968 MB / 1.181 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/1, allocations: 1.068 MB / 1.182 GB, free: 8.629 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009639/1.001, allocations: 0.7553 MB / 1.183 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/1.001, allocations: 55.06 kB / 1.183 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/1.003, allocations: 0.7514 MB / 1.184 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003568/1.003, allocations: 307.7 kB / 1.184 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006848/1.004, allocations: 0.5513 MB / 1.184 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/1.005, allocations: 1.042 MB / 1.185 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.005, allocations: 0 / 1.185 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/1.005, allocations: 0 / 1.185 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.005, allocations: 0 / 1.185 GB, free: 6.656 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002444/1.008, allocations: 1.454 MB / 1.187 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.008, allocations: 11.02 kB / 1.187 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/1.008, allocations: 199.2 kB / 1.187 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/1.01, allocations: 0.7971 MB / 1.188 GB, free: 4.844 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.118e-05/1.01, allocations: 46.52 kB / 1.188 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/1.01, allocations: 57.56 kB / 1.188 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.011, allocations: 0.7903 MB / 1.189 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.011, allocations: 3.938 kB / 1.189 GB, free: 4.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/1.011, allocations: 28.27 kB / 1.189 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/1.011, allocations: 12 kB / 1.189 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/1.012, allocations: 0.5325 MB / 1.189 GB, free: 3.957 MB / 0.8887 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.004307/1.016, allocations: 4.588 MB / 1.194 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/1.017, allocations: 420.3 kB / 1.194 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/1.017, allocations: 252.8 kB / 1.194 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/1.018, allocations: 191.1 kB / 1.195 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005015/1.018, allocations: 301.5 kB / 1.195 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.284e-06/1.018, allocations: 0 / 1.195 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.004936/1.023, allocations: 1.644 MB / 1.196 GB, free: 14 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/1.023, allocations: 85.75 kB / 1.197 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/1.024, allocations: 1.129 MB / 1.198 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/1.025, allocations: 34.42 kB / 1.198 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/1.025, allocations: 490.3 kB / 1.198 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.025, allocations: 114.2 kB / 1.198 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/1.025, allocations: 106.7 kB / 1.198 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.025, allocations: 323 kB / 1.199 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/1.026, allocations: 218.6 kB / 1.199 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/1.026, allocations: 0.5219 MB / 1.199 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/1.027, allocations: 0.6336 MB / 1.2 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.027, allocations: 6.406 kB / 1.2 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002077/1.029, allocations: 1.028 MB / 1.201 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/1.029, allocations: 41.75 kB / 1.201 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.029, allocations: 11.69 kB / 1.201 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/1.031, allocations: 381.1 kB / 1.201 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.031, allocations: 61.25 kB / 1.202 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/1.032, allocations: 1.078 MB / 1.203 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007258/1.033, allocations: 102.5 kB / 1.203 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/1.033, allocations: 27.45 kB / 1.203 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006866/1.034, allocations: 0.495 MB / 1.203 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005665/1.034, allocations: 496.2 kB / 1.204 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007342/1.035, allocations: 0.5555 MB / 1.204 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.506e-06/1.035, allocations: 6.75 kB / 1.204 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001416/1.037, allocations: 0.8436 MB / 1.205 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/1.037, allocations: 33.77 kB / 1.205 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.037, allocations: 4.625 kB / 1.205 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/1.037, allocations: 216.1 kB / 1.205 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.037, allocations: 71.38 kB / 1.205 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/1.041, allocations: 3.259 MB / 1.209 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007919/1.042, allocations: 88.02 kB / 1.209 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/1.042, allocations: 23.98 kB / 1.209 GB, free: 4.797 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002222/1.042, allocations: 216.1 kB / 1.209 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.042, allocations: 102.7 kB / 1.209 GB, free: 4.477 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.044, allocations: 0.7104 MB / 1.21 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.044, allocations: 4 kB / 1.21 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.044, allocations: 0 / 1.21 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.044, allocations: 0 / 1.21 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/1.046, allocations: 1.607 MB / 1.211 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.046, allocations: 3.984 kB / 1.211 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.046, allocations: 19.98 kB / 1.211 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/1.047, allocations: 250.5 kB / 1.211 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/1.047, allocations: 11.94 kB / 1.211 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/1.048, allocations: 1.03 MB / 1.212 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.048, allocations: 0 / 1.212 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.049, allocations: 0.8292 MB / 1.213 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/1.05, allocations: 215.8 kB / 1.213 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/1.05, allocations: 8 kB / 1.213 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/1.05, allocations: 43.95 kB / 1.214 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/1.05, allocations: 35.89 kB / 1.214 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/1.05, allocations: 12 kB / 1.214 GB, free: 15.53 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001046/1.051, allocations: 0.7955 MB / 1.214 GB, free: 14.72 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.052, allocations: 192 / 1.214 GB, free: 14.72 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001242/1.053, allocations: 439.4 kB / 1.215 GB, free: 14.29 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004596/1.053, allocations: 170.5 kB / 1.215 GB, free: 14.12 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002551/1.056, allocations: 1.224 MB / 1.216 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.056, allocations: 0 / 1.216 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/1.056, allocations: 273.7 kB / 1.216 GB, free: 12.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/1.058, allocations: 456.6 kB / 1.217 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/1.061, allocations: 2.139 MB / 1.219 GB, free: 9.961 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008207/1.062, allocations: 1.184 MB / 1.22 GB, free: 8.746 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/1.062, allocations: 63.42 kB / 1.22 GB, free: 8.684 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/1.062, allocations: 0 / 1.22 GB, free: 8.684 MB / 0.92 GB Notification: Performance of Templates: time 0.0282/1.09, allocations: 20.46 MB / 1.24 GB, free: 4.309 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches