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.001532/0.001532, allocations: 103.4 kB / 16.27 MB, free: 5.988 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.001622/0.001622, allocations: 188.4 kB / 17.2 MB, free: 5.613 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.9 MB, free: 15.2 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.48/2.48, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 72.38 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.7056/1.042, allocations: 161.6 MB / 1.176 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005816/1.048, allocations: 3.644 MB / 1.179 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/1.048, allocations: 11.19 kB / 1.179 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006126/1.049, allocations: 160.1 kB / 1.18 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/1.051, allocations: 0.5284 MB / 1.18 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/1.052, allocations: 426 kB / 1.18 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003125/1.055, allocations: 2.532 MB / 1.183 GB, free: 7.453 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.057, allocations: 0.9346 MB / 1.184 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/1.059, allocations: 1.031 MB / 1.185 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/1.06, allocations: 0.6977 MB / 1.186 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/1.06, allocations: 59.14 kB / 1.186 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/1.062, allocations: 0.7404 MB / 1.186 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/1.063, allocations: 305.4 kB / 1.187 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008254/1.064, allocations: 0.5455 MB / 1.187 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001787/1.065, allocations: 1.39 MB / 1.188 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.065, allocations: 0 / 1.188 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.986e-06/1.065, allocations: 3.156 kB / 1.188 GB, free: 4.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.649e-05/1.065, allocations: 0 / 1.188 GB, free: 4.238 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.002514/1.068, allocations: 1.446 MB / 1.19 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.068, allocations: 14.91 kB / 1.19 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007763/1.069, allocations: 184.9 kB / 1.19 GB, free: 3.035 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/1.07, allocations: 0.7962 MB / 1.191 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.652e-05/1.07, allocations: 41.91 kB / 1.191 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.544e-05/1.07, allocations: 65.61 kB / 1.191 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.071, allocations: 0.7891 MB / 1.192 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.072, allocations: 10.48 kB / 1.192 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/1.072, allocations: 24.72 kB / 1.192 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.072, allocations: 16.22 kB / 1.192 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/1.072, allocations: 0.5402 MB / 1.192 GB, free: 1.539 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.004645/1.077, allocations: 4.609 MB / 1.197 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/1.078, allocations: 416.3 kB / 1.197 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/1.078, allocations: 241.8 kB / 1.197 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003195/1.079, allocations: 193 kB / 1.198 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/1.079, allocations: 296.7 kB / 1.198 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=31): time 2.585e-06/1.079, allocations: 0 / 1.198 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of matching and sorting (n=31): time 0.004943/1.084, allocations: 1.646 MB / 1.199 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.084, allocations: 87.67 kB / 1.2 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.086, allocations: 1.125 MB / 1.201 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/1.086, allocations: 34.73 kB / 1.201 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/1.086, allocations: 490.6 kB / 1.201 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/1.086, allocations: 109 kB / 1.201 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/1.086, allocations: 111.1 kB / 1.201 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.087, allocations: 322.7 kB / 1.202 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/1.087, allocations: 222.7 kB / 1.202 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006548/1.088, allocations: 0.5161 MB / 1.202 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009026/1.089, allocations: 0.6285 MB / 1.203 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/1.089, allocations: 2.812 kB / 1.203 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002363/1.091, allocations: 1.04 MB / 1.204 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.092e-05/1.091, allocations: 40.11 kB / 1.204 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.091, allocations: 5.25 kB / 1.204 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.092, allocations: 391.1 kB / 1.204 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/1.093, allocations: 62.66 kB / 1.205 GB, free: 8.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/1.094, allocations: 1.072 MB / 1.206 GB, free: 7.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008148/1.095, allocations: 78.38 kB / 1.206 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/1.095, allocations: 23.67 kB / 1.206 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007492/1.096, allocations: 0.5025 MB / 1.206 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005972/1.096, allocations: 492.5 kB / 1.207 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007854/1.097, allocations: 0.5569 MB / 1.207 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/1.097, allocations: 0 / 1.207 GB, free: 6.031 MB / 0.9044 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001568/1.099, allocations: 0.8448 MB / 1.208 GB, free: 5.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/1.099, allocations: 32.52 kB / 1.208 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/1.099, allocations: 9.469 kB / 1.208 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005067/1.099, allocations: 217.8 kB / 1.208 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/1.1, allocations: 69.59 kB / 1.208 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/1.104, allocations: 3.262 MB / 1.211 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/1.104, allocations: 67.97 kB / 1.212 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-05/1.104, allocations: 20 kB / 1.212 GB, free: 1.973 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.0002659/1.105, allocations: 222.4 kB / 1.212 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.105, allocations: 102.8 kB / 1.212 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.106, allocations: 0.7065 MB / 1.213 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.106, allocations: 8 kB / 1.213 GB, free: 0.9258 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.106, allocations: 3.984 kB / 1.213 GB, free: 0.9219 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.106, allocations: 4 kB / 1.213 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/1.109, allocations: 1.595 MB / 1.214 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.109, allocations: 0 / 1.214 GB, free: 15.24 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.109, allocations: 27.92 kB / 1.214 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/1.11, allocations: 251.3 kB / 1.214 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/1.11, allocations: 11.94 kB / 1.214 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/1.111, allocations: 1.027 MB / 1.215 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/1.111, allocations: 4 kB / 1.215 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.112, allocations: 0.84 MB / 1.216 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/1.113, allocations: 219.8 kB / 1.216 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.113, allocations: 12 kB / 1.216 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/1.113, allocations: 23.97 kB / 1.217 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/1.113, allocations: 27.91 kB / 1.217 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/1.113, allocations: 12 kB / 1.217 GB, free: 12.71 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00109/1.114, allocations: 0.7955 MB / 1.217 GB, free: 11.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/1.114, allocations: 0 / 1.217 GB, free: 11.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001308/1.116, allocations: 427.5 kB / 1.218 GB, free: 11.49 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.0004714/1.116, allocations: 185.4 kB / 1.218 GB, free: 11.31 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002628/1.119, allocations: 1.212 MB / 1.219 GB, free: 10.06 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.119, allocations: 8.062 kB / 1.219 GB, free: 10.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006115/1.12, allocations: 267.7 kB / 1.219 GB, free: 9.793 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.122, allocations: 452.1 kB / 1.22 GB, free: 9.352 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/1.125, allocations: 1.85 MB / 1.222 GB, free: 7.449 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/1.125, allocations: 1.181 MB / 1.223 GB, free: 6.238 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/1.126, allocations: 63.44 kB / 1.223 GB, free: 6.176 MB / 0.92 GB Notification: Performance of SimCode: time 9.72e-07/1.126, allocations: 0 / 1.223 GB, free: 6.176 MB / 0.92 GB Notification: Performance of Templates: time 0.03089/1.157, allocations: 20.46 MB / 1.243 GB, free: 1.801 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=480 -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