Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 92.08 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.001225/0.001225, allocations: 183.1 kB / 16.92 MB, free: 6.926 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 462.6 MB / 0.7371 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 17.84 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 159.6 MB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.159/0.4916, allocations: 157.3 MB / 1.213 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.4949, allocations: 1.756 MB / 1.215 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.4954, allocations: 7.938 kB / 1.215 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.496, allocations: 139.1 kB / 1.215 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.4975, allocations: 498 kB / 1.215 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4987, allocations: 353.8 kB / 1.216 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003573/0.5023, allocations: 3.507 MB / 1.219 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.5052, allocations: 2.219 MB / 1.221 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.5073, allocations: 0.8986 MB / 1.222 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.5086, allocations: 0.7116 MB / 1.223 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.5088, allocations: 32 kB / 1.223 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.5106, allocations: 0.799 MB / 1.224 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004565/0.5111, allocations: 282.9 kB / 1.224 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.5122, allocations: 0.534 MB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.5136, allocations: 1.017 MB / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5136, allocations: 0 / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5136, allocations: 0 / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.213e-05/0.5137, allocations: 0 / 1.225 GB, free: 10.27 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00246/0.5161, allocations: 1.292 MB / 1.227 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5162, allocations: 12.03 kB / 1.227 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.5171, allocations: 190.5 kB / 1.227 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.5186, allocations: 0.8022 MB / 1.228 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/0.5186, allocations: 45 kB / 1.228 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.5187, allocations: 60 kB / 1.228 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.5201, allocations: 0.8394 MB / 1.229 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.5201, allocations: 3.938 kB / 1.229 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.178e-05/0.5202, allocations: 24 kB / 1.229 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5202, allocations: 12 kB / 1.229 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.5213, allocations: 0.5735 MB / 1.229 GB, free: 6.223 MB / 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.004463/0.5257, allocations: 4.247 MB / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/0.5265, allocations: 452.5 kB / 1.234 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/0.527, allocations: 347.7 kB / 1.234 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.5273, allocations: 194.2 kB / 1.234 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.5279, allocations: 327 kB / 1.235 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003358/0.5282, allocations: 31.69 kB / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 3.176e-06/0.5282, allocations: 4 kB / 1.235 GB, free: 328 kB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.005014/0.5333, allocations: 1.592 MB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.5334, allocations: 93.08 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.5354, allocations: 1.155 MB / 1.237 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.347e-05/0.5355, allocations: 41.64 kB / 1.237 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.536, allocations: 484.4 kB / 1.238 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.5361, allocations: 114.4 kB / 1.238 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.5362, allocations: 45.69 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5363, allocations: 322 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004094/0.5368, allocations: 236.9 kB / 1.239 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/0.5375, allocations: 0.5423 MB / 1.239 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.5385, allocations: 0.6983 MB / 1.24 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.5385, allocations: 4 kB / 1.24 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002589/0.5411, allocations: 1.107 MB / 1.241 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/0.5414, allocations: 279.1 kB / 1.241 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.5414, allocations: 4 kB / 1.241 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.5429, allocations: 438.7 kB / 1.241 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.5433, allocations: 95.98 kB / 1.242 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.5448, allocations: 1.108 MB / 1.243 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.5458, allocations: 83.78 kB / 1.243 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.5459, allocations: 27.98 kB / 1.243 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.5459, allocations: 4 kB / 1.243 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/0.5474, allocations: 0.7789 MB / 1.244 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5474, allocations: 7.984 kB / 1.244 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.5479, allocations: 229.2 kB / 1.244 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.5483, allocations: 95.86 kB / 1.244 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.552, allocations: 3.049 MB / 1.247 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/0.5529, allocations: 87.81 kB / 1.247 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.553, allocations: 24 kB / 1.247 GB, free: 3.062 MB / 0.9981 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006142/0.5536, allocations: 469.3 kB / 1.247 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.5539, allocations: 106.8 kB / 1.247 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.5553, allocations: 0.8007 MB / 1.248 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.5554, allocations: 4 kB / 1.248 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5554, allocations: 0 / 1.248 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5554, allocations: 4 kB / 1.248 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6217/1.177, allocations: 1.736 MB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/1.177, allocations: 3.656 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/1.177, allocations: 57.47 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006386/1.178, allocations: 268.6 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/1.178, allocations: 9.656 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/1.179, allocations: 1.054 MB / 1.251 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.179, allocations: 5.344 kB / 1.251 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/1.181, allocations: 0.902 MB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/1.181, allocations: 226.5 kB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.182, allocations: 11.2 kB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/1.182, allocations: 62.89 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.182, allocations: 32.8 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/1.182, allocations: 10.38 kB / 1.253 GB, free: 190 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001149/1.184, allocations: 0.8199 MB / 1.253 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.184, allocations: 0.9375 kB / 1.253 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001456/1.185, allocations: 464.2 kB / 1.254 GB, free: 189.8 MB / 0.9981 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004322/1.185, allocations: 174.1 kB / 1.254 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002399/1.188, allocations: 1.284 MB / 1.255 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.188, allocations: 3.75 kB / 1.255 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006255/1.188, allocations: 302.3 kB / 1.256 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/1.192, allocations: 0.6331 MB / 1.256 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/1.195, allocations: 2.225 MB / 1.258 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/1.195, allocations: 1.185 MB / 1.259 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/1.195, allocations: 63.97 kB / 1.26 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.195, allocations: 0 / 1.26 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04158/1.237, allocations: 21.71 MB / 1.281 GB, free: 180.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches