Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 102 kB / 16.27 MB, free: 5.906 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.001317/0.001317, allocations: 191.9 kB / 17.2 MB, free: 5.539 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.683/2.683, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001902, allocations: 67.95 kB / 0.9245 GB, free: 24 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.825, allocations: 162.2 MB / 1.083 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1969/1.022, allocations: 161.6 MB / 1.241 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005147/1.027, allocations: 3.626 MB / 1.244 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/1.027, allocations: 7.938 kB / 1.244 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005712/1.028, allocations: 170.8 kB / 1.244 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/1.029, allocations: 0.5172 MB / 1.245 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001151/1.031, allocations: 444.7 kB / 1.245 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002733/1.033, allocations: 2.531 MB / 1.248 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002906/1.036, allocations: 2.419 MB / 1.25 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/1.038, allocations: 1.164 MB / 1.251 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/1.039, allocations: 0.6884 MB / 1.252 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/1.039, allocations: 67.94 kB / 1.252 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/1.041, allocations: 0.7368 MB / 1.253 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/1.041, allocations: 306.9 kB / 1.253 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006857/1.042, allocations: 0.5517 MB / 1.254 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/1.044, allocations: 1.406 MB / 1.255 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.044, allocations: 0 / 1.255 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.753e-06/1.044, allocations: 4 kB / 1.255 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.386e-05/1.044, allocations: 0 / 1.255 GB, free: 14.33 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002332/1.046, allocations: 1.447 MB / 1.256 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.046, allocations: 8.031 kB / 1.256 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/1.047, allocations: 202.3 kB / 1.257 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.048, allocations: 0.7946 MB / 1.257 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/1.048, allocations: 45 kB / 1.257 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/1.048, allocations: 59.94 kB / 1.258 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/1.05, allocations: 0.82 MB / 1.258 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.05, allocations: 11.94 kB / 1.258 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/1.05, allocations: 23.94 kB / 1.258 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.05, allocations: 16 kB / 1.258 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/1.051, allocations: 0.5617 MB / 1.259 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/1.055, allocations: 4.219 MB / 1.263 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/1.056, allocations: 435.9 kB / 1.263 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005197/1.056, allocations: 353.6 kB / 1.264 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/1.057, allocations: 186.2 kB / 1.264 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/1.057, allocations: 323.1 kB / 1.264 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002014/1.057, allocations: 39.59 kB / 1.264 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/1.057, allocations: 0 / 1.264 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.001459/1.059, allocations: 0.7031 MB / 1.265 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/1.059, allocations: 85.09 kB / 1.265 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.06, allocations: 1.159 MB / 1.266 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/1.06, allocations: 37.64 kB / 1.266 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/1.061, allocations: 496.4 kB / 1.267 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/1.061, allocations: 118.4 kB / 1.267 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/1.061, allocations: 110.2 kB / 1.267 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.061, allocations: 326 kB / 1.267 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/1.062, allocations: 234.9 kB / 1.267 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/1.062, allocations: 0.5498 MB / 1.268 GB, free: 308 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009955/1.063, allocations: 0.6667 MB / 1.269 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.063, allocations: 4 kB / 1.269 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001326/1.065, allocations: 0.7679 MB / 1.269 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/1.065, allocations: 41.64 kB / 1.269 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.065, allocations: 4 kB / 1.269 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.065, allocations: 8 kB / 1.269 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/1.067, allocations: 371.7 kB / 1.27 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/1.071, allocations: 6.079 MB / 1.276 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008647/1.072, allocations: 56.12 kB / 1.276 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/1.072, allocations: 27.98 kB / 1.276 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008042/1.073, allocations: 0.5203 MB / 1.276 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006489/1.073, allocations: 0.5069 MB / 1.277 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008651/1.074, allocations: 0.588 MB / 1.277 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/1.074, allocations: 3.938 kB / 1.277 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001187/1.075, allocations: 0.6971 MB / 1.278 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/1.075, allocations: 33.7 kB / 1.278 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.075, allocations: 12.03 kB / 1.278 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.076, allocations: 8 kB / 1.278 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/1.076, allocations: 144.4 kB / 1.278 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/1.076, allocations: 15.92 kB / 1.278 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/1.077, allocations: 64.27 kB / 1.278 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/1.077, allocations: 27.98 kB / 1.278 GB, free: 5.102 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_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 (55): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002125/1.077, allocations: 220 kB / 1.279 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.077, allocations: 102.8 kB / 1.279 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/1.078, allocations: 0.5427 MB / 1.279 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/1.078, allocations: 7.938 kB / 1.279 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.078, allocations: 0 / 1.279 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.078, allocations: 0 / 1.279 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.081, allocations: 1.499 MB / 1.281 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.081, allocations: 8 kB / 1.281 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/1.081, allocations: 155.7 kB / 1.281 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/1.081, allocations: 11.92 kB / 1.281 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.082, allocations: 12.22 kB / 1.281 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/1.085, allocations: 6.021 MB / 1.287 GB, free: 12.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.085, allocations: 4.031 kB / 1.287 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/1.086, allocations: 0.6515 MB / 1.287 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.087, allocations: 223.8 kB / 1.288 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.087, allocations: 8 kB / 1.288 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/1.087, allocations: 47.88 kB / 1.288 GB, free: 11.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/1.087, allocations: 31.91 kB / 1.288 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/1.087, allocations: 11.98 kB / 1.288 GB, free: 11.18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001118/1.089, allocations: 0.816 MB / 1.288 GB, free: 10.36 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.089, allocations: 0 / 1.288 GB, free: 10.36 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001149/1.09, allocations: 431.4 kB / 1.289 GB, free: 9.934 MB / 1.014 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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/1.09, allocations: 167.3 kB / 1.289 GB, free: 9.766 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003619/1.094, allocations: 1.244 MB / 1.29 GB, free: 8.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.094, allocations: 0 / 1.29 GB, free: 8.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008599/1.095, allocations: 320.5 kB / 1.291 GB, free: 8.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002361/1.097, allocations: 0.503 MB / 1.291 GB, free: 7.695 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/1.1, allocations: 1.967 MB / 1.293 GB, free: 5.676 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/1.101, allocations: 1.178 MB / 1.294 GB, free: 4.469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/1.101, allocations: 71.42 kB / 1.294 GB, free: 4.398 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.101, allocations: 0 / 1.294 GB, free: 4.398 MB / 1.014 GB Notification: Performance of Templates: time 0.07044/1.172, allocations: 65.07 MB / 1.358 GB, free: 3.34 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches