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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001012/0.001012, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 186 kB / 16.92 MB, free: 6.75 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003432, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7297, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1686/0.8984, allocations: 157.3 MB / 1.177 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004829/0.9033, allocations: 3.601 MB / 1.181 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.9036, allocations: 11.88 kB / 1.181 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.9042, allocations: 131.2 kB / 1.181 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.9055, allocations: 0.498 MB / 1.181 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.9067, allocations: 394.9 kB / 1.182 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.9101, allocations: 3.491 MB / 1.185 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.9112, allocations: 0.7505 MB / 1.186 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.9131, allocations: 0.9063 MB / 1.187 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.9142, allocations: 0.7155 MB / 1.188 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.9143, allocations: 32 kB / 1.188 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.9159, allocations: 0.8029 MB / 1.188 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003177/0.9162, allocations: 278.9 kB / 1.189 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006698/0.9169, allocations: 0.5301 MB / 1.189 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.918, allocations: 1.005 MB / 1.19 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.918, allocations: 0 / 1.19 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.545e-06/0.918, allocations: 4 kB / 1.19 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.481e-05/0.9181, allocations: 3.938 kB / 1.19 GB, free: 4.805 MB / 0.9356 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.002071/0.9201, allocations: 1.272 MB / 1.191 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.9202, allocations: 8.031 kB / 1.191 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/0.921, allocations: 186.5 kB / 1.192 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.9222, allocations: 0.8023 MB / 1.192 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.9222, allocations: 41 kB / 1.192 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.9223, allocations: 60 kB / 1.192 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.9235, allocations: 0.7943 MB / 1.193 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.9235, allocations: 11.92 kB / 1.193 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.9236, allocations: 23.98 kB / 1.193 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.9236, allocations: 23.94 kB / 1.193 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.9245, allocations: 0.5383 MB / 1.194 GB, free: 0.8516 MB / 0.9356 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.004189/0.9287, allocations: 4.591 MB / 1.198 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.9294, allocations: 434.3 kB / 1.199 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.9298, allocations: 250.2 kB / 1.199 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.9301, allocations: 198.2 kB / 1.199 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.9306, allocations: 305 kB / 1.199 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.175e-06/0.9307, allocations: 4 kB / 1.199 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.004942/0.9356, allocations: 1.678 MB / 1.201 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.9357, allocations: 81.11 kB / 1.201 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.9372, allocations: 1.118 MB / 1.202 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.9372, allocations: 41.7 kB / 1.202 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.9377, allocations: 492 kB / 1.203 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.939e-05/0.9378, allocations: 110.5 kB / 1.203 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.9378, allocations: 45.7 kB / 1.203 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9379, allocations: 326 kB / 1.203 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.9383, allocations: 208.7 kB / 1.203 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.9389, allocations: 0.533 MB / 1.204 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.9398, allocations: 0.6367 MB / 1.205 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9398, allocations: 4 kB / 1.205 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002239/0.9421, allocations: 1.052 MB / 1.206 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.9423, allocations: 275 kB / 1.206 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9423, allocations: 8 kB / 1.206 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.9435, allocations: 389.9 kB / 1.206 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.9437, allocations: 59.91 kB / 1.206 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.9451, allocations: 1.092 MB / 1.207 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.9459, allocations: 99.38 kB / 1.207 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.946, allocations: 24 kB / 1.207 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.946, allocations: 4 kB / 1.207 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/0.9473, allocations: 0.7322 MB / 1.208 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9473, allocations: 8.125 kB / 1.208 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/0.9479, allocations: 212.7 kB / 1.208 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.9481, allocations: 71.84 kB / 1.208 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.9515, allocations: 2.993 MB / 1.211 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/0.9523, allocations: 99.36 kB / 1.211 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.9524, allocations: 27.94 kB / 1.211 GB, free: 13.7 MB / 0.9669 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.0005816/0.953, allocations: 464.7 kB / 1.212 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.9531, allocations: 102.8 kB / 1.212 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.9544, allocations: 0.7145 MB / 1.213 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9544, allocations: 11.88 kB / 1.213 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.9545, allocations: 0 / 1.213 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.9545, allocations: 4 kB / 1.213 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.9567, allocations: 1.615 MB / 1.214 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.9568, allocations: 4.031 kB / 1.214 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.9569, allocations: 31.91 kB / 1.214 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/0.9574, allocations: 231.8 kB / 1.215 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.9574, allocations: 12 kB / 1.215 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009788/0.9584, allocations: 1.036 MB / 1.216 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.9584, allocations: 4 kB / 1.216 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.9597, allocations: 0.8496 MB / 1.216 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.9601, allocations: 211.8 kB / 1.217 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/0.9602, allocations: 12 kB / 1.217 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004947/0.9607, allocations: 55.88 kB / 1.217 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.9607, allocations: 27.91 kB / 1.217 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.9608, allocations: 12 kB / 1.217 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009878/0.9618, allocations: 0.7955 MB / 1.218 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9618, allocations: 0 / 1.218 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001259/0.963, allocations: 435.4 kB / 1.218 GB, free: 6.895 MB / 0.9669 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.0004581/0.9635, allocations: 183.2 kB / 1.218 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.9661, allocations: 1.221 MB / 1.219 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9661, allocations: 7.938 kB / 1.219 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006019/0.9667, allocations: 274.1 kB / 1.22 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/0.9691, allocations: 456.7 kB / 1.22 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.9722, allocations: 2.136 MB / 1.222 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/0.9729, allocations: 1.185 MB / 1.223 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.9731, allocations: 67.42 kB / 1.223 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of SimCode: time 4.91e-07/0.9731, allocations: 0 / 1.223 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.02827/1.001, allocations: 20.35 MB / 1.243 GB, free: 13 MB / 0.9981 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