Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.211/2.211, allocations: 387.1 MB / 399.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 173 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009062/0.0009064, allocations: 97.83 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.684e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.491/5.753, allocations: 1.869 GB / 3.082 GB, free: 435.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/5.754, allocations: 94.42 kB / 3.082 GB, free: 435.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.561/12.31, allocations: 1.802 GB / 4.884 GB, free: 366.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.833e-06/12.31, allocations: 6.531 kB / 4.884 GB, free: 366.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001124/12.31, allocations: 28.31 kB / 4.884 GB, free: 366.3 MB / 1.151 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.003546/12.32, allocations: 1.226 MB / 4.885 GB, free: 365.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/12.32, allocations: 7.656 kB / 4.885 GB, free: 365.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009487/12.32, allocations: 187.4 kB / 4.886 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/12.32, allocations: 1.385 MB / 4.887 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/12.32, allocations: 48.47 kB / 4.887 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.97e-05/12.32, allocations: 60.19 kB / 4.887 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/12.32, allocations: 0.7614 MB / 4.888 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/12.32, allocations: 3.75 kB / 4.888 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/12.32, allocations: 27.12 kB / 4.888 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/12.32, allocations: 14.84 kB / 4.888 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/12.32, allocations: 497.4 kB / 4.888 GB, free: 365.2 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003329/12.33, allocations: 4.211 MB / 4.892 GB, free: 362.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/12.33, allocations: 396.6 kB / 4.893 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/12.33, allocations: 323.2 kB / 4.893 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000302/12.33, allocations: 196.3 kB / 4.893 GB, free: 362.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/12.33, allocations: 298.6 kB / 4.893 GB, free: 362.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003151/12.33, allocations: 29.38 kB / 4.894 GB, free: 362.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.215e-06/12.33, allocations: 0 / 4.894 GB, free: 362.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001324/12.33, allocations: 0.7321 MB / 4.894 GB, free: 361.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/12.33, allocations: 87.59 kB / 4.894 GB, free: 361.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/12.33, allocations: 1.002 MB / 4.895 GB, free: 361.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/12.33, allocations: 40.08 kB / 4.895 GB, free: 361.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/12.33, allocations: 492.2 kB / 4.896 GB, free: 361.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.178e-05/12.33, allocations: 114.3 kB / 4.896 GB, free: 361.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/12.33, allocations: 6.312 kB / 4.896 GB, free: 361.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/12.33, allocations: 328.9 kB / 4.896 GB, free: 361.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/12.33, allocations: 182 kB / 4.896 GB, free: 361.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/12.33, allocations: 0.4997 MB / 4.897 GB, free: 360.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/12.33, allocations: 299 kB / 4.897 GB, free: 360.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/12.33, allocations: 0 / 4.897 GB, free: 360.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00122/12.33, allocations: 0.9116 MB / 4.898 GB, free: 360.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004779/12.34, allocations: 2.142 MB / 4.9 GB, free: 358.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/12.34, allocations: 3.969 kB / 4.9 GB, free: 358.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/12.34, allocations: 257.1 kB / 4.9 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/12.34, allocations: 66.66 kB / 4.9 GB, free: 358.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008461/12.34, allocations: 1.032 MB / 4.901 GB, free: 357.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009659/12.34, allocations: 86.39 kB / 4.902 GB, free: 357.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/12.34, allocations: 30.97 kB / 4.902 GB, free: 357.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/12.34, allocations: 5.688 kB / 4.902 GB, free: 357.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/12.34, allocations: 0.7307 MB / 4.902 GB, free: 357.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/12.34, allocations: 7.281 kB / 4.902 GB, free: 357.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005463/12.34, allocations: 243.1 kB / 4.903 GB, free: 357.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/12.34, allocations: 69.47 kB / 4.903 GB, free: 357.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003043/12.34, allocations: 2.986 MB / 4.906 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/12.34, allocations: 91.39 kB / 4.906 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/12.34, allocations: 27.02 kB / 4.906 GB, free: 356.4 MB / 1.151 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001826/12.34, allocations: 148.8 kB / 4.906 GB, free: 356.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/12.34, allocations: 99.41 kB / 4.906 GB, free: 356.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/12.35, allocations: 0.739 MB / 4.907 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/12.35, allocations: 3.25 kB / 4.907 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/12.35, allocations: 0 / 4.907 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/12.35, allocations: 7.125 kB / 4.907 GB, free: 356.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/12.35, allocations: 1.677 MB / 4.908 GB, free: 355.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/12.35, allocations: 3.219 kB / 4.908 GB, free: 355.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/12.35, allocations: 30.34 kB / 4.908 GB, free: 355.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000443/12.35, allocations: 250 kB / 4.909 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/12.35, allocations: 11.62 kB / 4.909 GB, free: 355.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006759/12.35, allocations: 0.9991 MB / 4.91 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/12.35, allocations: 3.938 kB / 4.91 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/12.35, allocations: 0.937 MB / 4.91 GB, free: 354.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/12.35, allocations: 226.2 kB / 4.911 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/12.35, allocations: 8.656 kB / 4.911 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/12.35, allocations: 68.92 kB / 4.911 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/12.35, allocations: 31.92 kB / 4.911 GB, free: 354.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/12.35, allocations: 11.12 kB / 4.911 GB, free: 354.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008908/12.35, allocations: 0.7982 MB / 4.912 GB, free: 354.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/12.35, allocations: 5.969 kB / 4.912 GB, free: 354.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001585/12.35, allocations: 0.5363 MB / 4.912 GB, free: 354.3 MB / 1.151 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/12.36, allocations: 0.9254 MB / 4.913 GB, free: 354 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001519/12.36, allocations: 1.076 MB / 4.914 GB, free: 353.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/12.36, allocations: 0 / 4.914 GB, free: 353.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/12.36, allocations: 224.3 kB / 4.914 GB, free: 353.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/12.36, allocations: 0.625 MB / 4.915 GB, free: 353.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/12.36, allocations: 1.384 MB / 4.916 GB, free: 352.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/12.36, allocations: 1.207 MB / 4.917 GB, free: 352 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001956/12.37, allocations: 0.7171 MB / 4.918 GB, free: 352 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/12.37, allocations: 50.88 kB / 4.918 GB, free: 352 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/12.37, allocations: 0 / 4.918 GB, free: 352 MB / 1.151 GB Notification: Performance of Templates: time 0.0527/12.42, allocations: 35.83 MB / 4.953 GB, free: 328.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches