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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009824/0.0009822, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001239/0.001239, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.000352, allocations: 19.98 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6824/0.6828, allocations: 142.4 MB / 0.9544 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1623/0.8451, allocations: 146.7 MB / 1.098 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003424/0.8486, allocations: 1.646 MB / 1.099 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.849, allocations: 11.94 kB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.8496, allocations: 115.2 kB / 1.099 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.8508, allocations: 394.1 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.8519, allocations: 326.9 kB / 1.1 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003445/0.8553, allocations: 3.007 MB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/0.8582, allocations: 2.152 MB / 1.105 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.8602, allocations: 0.8636 MB / 1.106 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.8612, allocations: 0.704 MB / 1.107 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.113e-05/0.8613, allocations: 36 kB / 1.107 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.8625, allocations: 0.5574 MB / 1.107 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.8629, allocations: 278.9 kB / 1.108 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.8632, allocations: 233.1 kB / 1.108 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.8644, allocations: 1.041 MB / 1.109 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.8644, allocations: 0 / 1.109 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8644, allocations: 0 / 1.109 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.8644, allocations: 4 kB / 1.109 GB, free: 0.9844 MB / 0.8575 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.002081/0.8665, allocations: 1.319 MB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.8665, allocations: 8.031 kB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007206/0.8673, allocations: 186.5 kB / 1.11 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.8686, allocations: 0.804 MB / 1.111 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.8686, allocations: 41 kB / 1.111 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.8687, allocations: 67.94 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.87, allocations: 0.8253 MB / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.87, allocations: 0 / 1.112 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.87, allocations: 27.98 kB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.8701, allocations: 19.94 kB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009266/0.871, allocations: 0.5618 MB / 1.113 GB, free: 12.94 MB / 0.8731 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.004092/0.8751, allocations: 4.281 MB / 1.117 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007441/0.8759, allocations: 442.2 kB / 1.117 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/0.8764, allocations: 354.8 kB / 1.118 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/0.8767, allocations: 190.2 kB / 1.118 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.8773, allocations: 327.1 kB / 1.118 GB, free: 7.039 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002591/0.8775, allocations: 35.59 kB / 1.118 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.8776, allocations: 0 / 1.118 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.004801/0.8824, allocations: 1.688 MB / 1.12 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.8824, allocations: 85.05 kB / 1.12 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.8839, allocations: 1.143 MB / 1.121 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/0.884, allocations: 41.64 kB / 1.121 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.8844, allocations: 488.4 kB / 1.121 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.8845, allocations: 118.4 kB / 1.122 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.8845, allocations: 12 kB / 1.122 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8847, allocations: 322 kB / 1.122 GB, free: 3.047 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.8851, allocations: 205 kB / 1.122 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006089/0.8857, allocations: 0.5228 MB / 1.123 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005184/0.8862, allocations: 319.1 kB / 1.123 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8862, allocations: 0 / 1.123 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002184/0.8884, allocations: 1.054 MB / 1.124 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.8886, allocations: 283.2 kB / 1.124 GB, free: 452 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.8886, allocations: 4 kB / 1.124 GB, free: 448 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.8899, allocations: 349.2 kB / 1.124 GB, free: 96 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/0.8903, allocations: 99.92 kB / 1.125 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.8914, allocations: 1.046 MB / 1.126 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.8922, allocations: 92.77 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.8922, allocations: 24 kB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.8923, allocations: 4 kB / 1.126 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001419/0.8937, allocations: 0.7909 MB / 1.126 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.8937, allocations: 12.03 kB / 1.126 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.8943, allocations: 245.3 kB / 1.127 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.8947, allocations: 99.86 kB / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.8984, allocations: 3.044 MB / 1.13 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008635/0.8993, allocations: 87.81 kB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.8993, allocations: 20 kB / 1.13 GB, free: 10.38 MB / 0.8887 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 () * 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 (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.0005546/0.8999, allocations: 476.6 kB / 1.13 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.9, allocations: 102.9 kB / 1.13 GB, free: 9.797 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.9014, allocations: 0.793 MB / 1.131 GB, free: 8.996 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9014, allocations: 4 kB / 1.131 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.9014, allocations: 0 / 1.131 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.9014, allocations: 3.984 kB / 1.131 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.9039, allocations: 1.738 MB / 1.133 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.904, allocations: 0 / 1.133 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.9042, allocations: 60.16 kB / 1.133 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/0.9047, allocations: 238.1 kB / 1.133 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.9048, allocations: 15.92 kB / 1.133 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/0.9057, allocations: 1.011 MB / 1.134 GB, free: 5.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.9057, allocations: 4.062 kB / 1.134 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.907, allocations: 0.8895 MB / 1.135 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.9074, allocations: 231.8 kB / 1.135 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.9075, allocations: 15.94 kB / 1.135 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005788/0.9081, allocations: 63.78 kB / 1.135 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.9082, allocations: 27.95 kB / 1.135 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.9082, allocations: 8 kB / 1.135 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001018/0.9092, allocations: 0.8119 MB / 1.136 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9092, allocations: 4 kB / 1.136 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00134/0.9106, allocations: 483.4 kB / 1.137 GB, free: 3.238 MB / 0.8887 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 (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.0004054/0.911, allocations: 193.6 kB / 1.137 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.913, allocations: 1.143 MB / 1.138 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.913, allocations: 0 / 1.138 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.9136, allocations: 254.6 kB / 1.138 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00297/0.9166, allocations: 0.6325 MB / 1.139 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00314/0.9197, allocations: 1.986 MB / 1.141 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.9205, allocations: 1.193 MB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001088/0.9216, allocations: 340.1 kB / 1.142 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.9218, allocations: 59.44 kB / 1.142 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of SimCode: time 1.482e-06/0.9218, allocations: 0 / 1.142 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.03697/0.9588, allocations: 20.71 MB / 1.163 GB, free: 8.863 MB / 0.92 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches