Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 92.08 kB / 16.02 MB, free: 80 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.001529/0.001529, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.289 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.598/2.598, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003419, allocations: 12 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6946, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1679/0.8625, allocations: 157.3 MB / 1.177 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003387/0.8659, allocations: 1.76 MB / 1.179 GB, free: 224 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.8665, allocations: 11.94 kB / 1.179 GB, free: 212 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.8671, allocations: 135.2 kB / 1.179 GB, free: 76 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.8687, allocations: 498.1 kB / 1.18 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.87, allocations: 358.5 kB / 1.18 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.8735, allocations: 3.499 MB / 1.183 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.8762, allocations: 2.211 MB / 1.186 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.8782, allocations: 0.8986 MB / 1.186 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.8793, allocations: 0.7194 MB / 1.187 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.602e-05/0.8794, allocations: 32 kB / 1.187 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.881, allocations: 0.8029 MB / 1.188 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.8813, allocations: 286.8 kB / 1.188 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006356/0.882, allocations: 0.5262 MB / 1.189 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.8831, allocations: 1.025 MB / 1.19 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8831, allocations: 0 / 1.19 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8831, allocations: 0 / 1.19 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.8831, allocations: 0 / 1.19 GB, free: 5.199 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00212/0.8853, allocations: 1.288 MB / 1.191 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.8853, allocations: 15.97 kB / 1.191 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008167/0.8861, allocations: 190.4 kB / 1.191 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.8873, allocations: 0.8022 MB / 1.192 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.8874, allocations: 44.98 kB / 1.192 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.8875, allocations: 60 kB / 1.192 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.8887, allocations: 0.8315 MB / 1.193 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.8888, allocations: 4 kB / 1.193 GB, free: 1.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.8888, allocations: 20 kB / 1.193 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.8888, allocations: 16 kB / 1.193 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.8898, allocations: 0.5774 MB / 1.193 GB, free: 1.156 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.003968/0.8938, allocations: 4.25 MB / 1.198 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007865/0.8946, allocations: 456.7 kB / 1.198 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.8951, allocations: 341.1 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.8954, allocations: 202.2 kB / 1.199 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.8959, allocations: 327 kB / 1.199 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002939/0.8963, allocations: 35.62 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.8963, allocations: 3.938 kB / 1.199 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.005085/0.9014, allocations: 1.699 MB / 1.201 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.9014, allocations: 89.11 kB / 1.201 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.9029, allocations: 1.147 MB / 1.202 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.903, allocations: 41.58 kB / 1.202 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/0.9034, allocations: 492.4 kB / 1.202 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.967e-05/0.9035, allocations: 122.3 kB / 1.202 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.9036, allocations: 41.69 kB / 1.202 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9037, allocations: 326 kB / 1.203 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.9041, allocations: 236.9 kB / 1.203 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006129/0.9047, allocations: 0.5423 MB / 1.204 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/0.9057, allocations: 0.6879 MB / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.9057, allocations: 4 kB / 1.204 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002311/0.908, allocations: 1.119 MB / 1.205 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/0.9082, allocations: 277 kB / 1.206 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.9082, allocations: 8 kB / 1.206 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.9095, allocations: 371.5 kB / 1.206 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.9099, allocations: 99.86 kB / 1.206 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.911, allocations: 1.04 MB / 1.207 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.9119, allocations: 83.83 kB / 1.207 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.912, allocations: 24 kB / 1.207 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.912, allocations: 4 kB / 1.207 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001407/0.9134, allocations: 0.7906 MB / 1.208 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.9134, allocations: 4 kB / 1.208 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.914, allocations: 244.8 kB / 1.208 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.9144, allocations: 99.88 kB / 1.208 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.918, allocations: 3.022 MB / 1.211 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009803/0.919, allocations: 71.98 kB / 1.211 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.9191, allocations: 24 kB / 1.211 GB, free: 14.01 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_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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006127/0.9197, allocations: 473.9 kB / 1.212 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.9199, allocations: 106.6 kB / 1.212 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.9213, allocations: 0.7928 MB / 1.213 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9213, allocations: 4 kB / 1.213 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9213, allocations: 3.984 kB / 1.213 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9213, allocations: 0 / 1.213 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.9239, allocations: 1.731 MB / 1.214 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.9239, allocations: 4 kB / 1.214 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.9241, allocations: 68.09 kB / 1.214 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005124/0.9247, allocations: 240.8 kB / 1.215 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.9247, allocations: 8 kB / 1.215 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008862/0.9256, allocations: 1.011 MB / 1.216 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.9256, allocations: 4.031 kB / 1.216 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.9269, allocations: 0.9204 MB / 1.217 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003551/0.9273, allocations: 235.7 kB / 1.217 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.9274, allocations: 8 kB / 1.217 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.928, allocations: 55.84 kB / 1.217 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.9281, allocations: 27.95 kB / 1.217 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.9281, allocations: 20 kB / 1.217 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001008/0.9291, allocations: 0.8119 MB / 1.218 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9291, allocations: 4 kB / 1.218 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001299/0.9304, allocations: 471.5 kB / 1.218 GB, free: 6.848 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_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 {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004485/0.9309, allocations: 162.7 kB / 1.218 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.9331, allocations: 1.149 MB / 1.219 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.9331, allocations: 8 kB / 1.219 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.9336, allocations: 254.5 kB / 1.22 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003569/0.9372, allocations: 0.6206 MB / 1.22 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/0.9402, allocations: 2.128 MB / 1.222 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.9409, allocations: 1.185 MB / 1.223 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.941, allocations: 67.44 kB / 1.224 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of SimCode: time 6.82e-07/0.9411, allocations: 0 / 1.224 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of Templates: time 0.03048/0.9715, allocations: 21.32 MB / 1.244 GB, free: 11.94 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches