Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_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_10_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.001293/0.001293, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001293/0.001293, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 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.362/2.362, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7894/0.7908, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1786/0.9694, allocations: 161.6 MB / 1.325 GB, free: 1.625 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003462/0.9729, allocations: 1.761 MB / 1.327 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005522/0.9735, allocations: 15.88 kB / 1.327 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.9743, allocations: 170.9 kB / 1.327 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.976, allocations: 0.5446 MB / 1.328 GB, free: 15.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.9774, allocations: 399.4 kB / 1.328 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003027/0.9804, allocations: 2.549 MB / 1.33 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003112/0.9835, allocations: 2.411 MB / 1.333 GB, free: 9.762 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.9858, allocations: 1.047 MB / 1.334 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.9872, allocations: 0.7156 MB / 1.335 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.9875, allocations: 56 kB / 1.335 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.9894, allocations: 0.7562 MB / 1.335 GB, free: 7.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.9899, allocations: 310.9 kB / 1.336 GB, free: 6.875 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.9911, allocations: 0.5441 MB / 1.336 GB, free: 6.328 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.9934, allocations: 1.411 MB / 1.337 GB, free: 4.914 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9934, allocations: 0 / 1.337 GB, free: 4.914 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9934, allocations: 0 / 1.337 GB, free: 4.914 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.924e-05/0.9935, allocations: 0 / 1.337 GB, free: 4.914 MB / 1.061 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.003003/0.9965, allocations: 1.455 MB / 1.339 GB, free: 3.398 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.9965, allocations: 8.922 kB / 1.339 GB, free: 3.391 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.9974, allocations: 190.5 kB / 1.339 GB, free: 3.203 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.9991, allocations: 0.8567 MB / 1.34 GB, free: 2.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.473e-05/0.9992, allocations: 45 kB / 1.34 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.9993, allocations: 60 kB / 1.34 GB, free: 2.188 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/1.001, allocations: 0.82 MB / 1.341 GB, free: 1.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.001, allocations: 3.938 kB / 1.341 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/1.001, allocations: 24 kB / 1.341 GB, free: 1.266 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/1.001, allocations: 12 kB / 1.341 GB, free: 1.254 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.002, allocations: 0.5696 MB / 1.341 GB, free: 0.6797 MB / 1.061 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.004632/1.006, allocations: 4.211 MB / 1.346 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/1.007, allocations: 439.2 kB / 1.346 GB, free: 11.76 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005031/1.008, allocations: 345.1 kB / 1.346 GB, free: 11.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/1.008, allocations: 198.2 kB / 1.346 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005308/1.009, allocations: 320.2 kB / 1.347 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002857/1.009, allocations: 35.67 kB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/1.009, allocations: 0 / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.004792/1.014, allocations: 1.567 MB / 1.348 GB, free: 9.227 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/1.014, allocations: 81.11 kB / 1.348 GB, free: 9.129 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/1.016, allocations: 1.154 MB / 1.35 GB, free: 7.957 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/1.016, allocations: 37.7 kB / 1.35 GB, free: 7.914 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/1.016, allocations: 488.4 kB / 1.35 GB, free: 7.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/1.016, allocations: 114.5 kB / 1.35 GB, free: 7.316 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.016, allocations: 118.1 kB / 1.35 GB, free: 7.195 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.016, allocations: 322 kB / 1.351 GB, free: 6.875 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/1.017, allocations: 234.9 kB / 1.351 GB, free: 6.645 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006538/1.018, allocations: 0.55 MB / 1.351 GB, free: 5.961 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/1.019, allocations: 0.6705 MB / 1.352 GB, free: 5.211 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/1.019, allocations: 4 kB / 1.352 GB, free: 5.207 MB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002446/1.021, allocations: 1.103 MB / 1.353 GB, free: 4.086 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/1.021, allocations: 37.69 kB / 1.353 GB, free: 4.043 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.021, allocations: 8.109 kB / 1.353 GB, free: 4.035 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/1.023, allocations: 438.4 kB / 1.354 GB, free: 3.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/1.023, allocations: 83.88 kB / 1.354 GB, free: 3.523 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/1.024, allocations: 1.096 MB / 1.355 GB, free: 2.402 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008244/1.025, allocations: 55.94 kB / 1.355 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/1.025, allocations: 27.98 kB / 1.355 GB, free: 2.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007934/1.026, allocations: 0.5164 MB / 1.355 GB, free: 1.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006255/1.027, allocations: 0.5031 MB / 1.356 GB, free: 1.164 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008416/1.028, allocations: 0.5919 MB / 1.356 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.251e-06/1.028, allocations: 7.938 kB / 1.356 GB, free: 496 kB / 1.076 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00181/1.029, allocations: 0.8896 MB / 1.357 GB, free: 15.58 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/1.03, allocations: 45.69 kB / 1.357 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/1.03, allocations: 11.94 kB / 1.357 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/1.03, allocations: 222.3 kB / 1.358 GB, free: 15.3 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/1.03, allocations: 95.84 kB / 1.358 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004221/1.035, allocations: 3.297 MB / 1.361 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008986/1.036, allocations: 68.25 kB / 1.361 GB, free: 11.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/1.036, allocations: 20.06 kB / 1.361 GB, free: 11.68 MB / 1.092 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.0002483/1.036, allocations: 224.7 kB / 1.361 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/1.036, allocations: 102.7 kB / 1.361 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/1.038, allocations: 0.781 MB / 1.362 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.038, allocations: 4 kB / 1.362 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.038, allocations: 0 / 1.362 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.038, allocations: 3.938 kB / 1.362 GB, free: 10.55 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/1.041, allocations: 1.721 MB / 1.364 GB, free: 8.75 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.041, allocations: 4 kB / 1.364 GB, free: 8.746 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/1.041, allocations: 47.88 kB / 1.364 GB, free: 8.699 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/1.041, allocations: 268.7 kB / 1.364 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/1.041, allocations: 8.219 kB / 1.364 GB, free: 8.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/1.042, allocations: 1.041 MB / 1.365 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.042, allocations: 0 / 1.365 GB, free: 7.363 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/1.044, allocations: 0.8979 MB / 1.366 GB, free: 6.426 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004665/1.044, allocations: 231.7 kB / 1.366 GB, free: 6.18 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/1.045, allocations: 8 kB / 1.366 GB, free: 6.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/1.045, allocations: 43.94 kB / 1.366 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/1.045, allocations: 23.97 kB / 1.366 GB, free: 6.105 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/1.045, allocations: 12 kB / 1.366 GB, free: 6.094 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00118/1.046, allocations: 0.8158 MB / 1.367 GB, free: 5.27 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.046, allocations: 0 / 1.367 GB, free: 5.27 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001433/1.048, allocations: 467.4 kB / 1.367 GB, free: 4.812 MB / 1.092 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.0004905/1.048, allocations: 185 kB / 1.368 GB, free: 4.633 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002702/1.051, allocations: 1.272 MB / 1.369 GB, free: 3.324 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.051, allocations: 4.062 kB / 1.369 GB, free: 3.32 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006448/1.052, allocations: 310.4 kB / 1.369 GB, free: 3.02 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.054, allocations: 0.4898 MB / 1.37 GB, free: 2.535 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/1.057, allocations: 1.928 MB / 1.371 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008209/1.058, allocations: 1.177 MB / 1.373 GB, free: 15.35 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/1.058, allocations: 71.42 kB / 1.373 GB, free: 15.28 MB / 1.107 GB Notification: Performance of SimCode: time 1.062e-06/1.058, allocations: 3.938 kB / 1.373 GB, free: 15.28 MB / 1.107 GB Notification: Performance of Templates: time 0.03004/1.088, allocations: 21.3 MB / 1.394 GB, free: 10.07 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches