Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ParallelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_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_9_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.001007/0.001007, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006976/0.006976, allocations: 169.4 kB / 16.26 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003379, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7711, allocations: 142.4 MB / 0.955 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1642/0.9354, allocations: 157.3 MB / 1.109 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.9389, allocations: 1.756 MB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.9394, allocations: 11.94 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.94, allocations: 127.2 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.9415, allocations: 0.5019 MB / 1.111 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.9426, allocations: 352.2 kB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.9462, allocations: 3.5 MB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002994/0.9492, allocations: 2.222 MB / 1.117 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.9515, allocations: 0.8985 MB / 1.118 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.953, allocations: 0.7194 MB / 1.118 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.9532, allocations: 39.98 kB / 1.119 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.955, allocations: 0.799 MB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.9554, allocations: 270.9 kB / 1.12 GB, free: 6.25 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008692/0.9563, allocations: 0.5339 MB / 1.12 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.9582, allocations: 1.374 MB / 1.121 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.9583, allocations: 0 / 1.121 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9583, allocations: 4 kB / 1.121 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.28e-05/0.9583, allocations: 0 / 1.121 GB, free: 4.324 MB / 0.8731 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.002438/0.9608, allocations: 1.295 MB / 1.123 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.9608, allocations: 8.031 kB / 1.123 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008995/0.9617, allocations: 178.5 kB / 1.123 GB, free: 2.785 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.9631, allocations: 0.8138 MB / 1.124 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.9632, allocations: 49 kB / 1.124 GB, free: 1.863 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.9633, allocations: 59.94 kB / 1.124 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.9647, allocations: 0.8239 MB / 1.125 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.9647, allocations: 3.938 kB / 1.125 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.9647, allocations: 24 kB / 1.125 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.9648, allocations: 16 kB / 1.125 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.9658, allocations: 0.5774 MB / 1.125 GB, free: 292 kB / 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.004618/0.9704, allocations: 4.254 MB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.9712, allocations: 446.2 kB / 1.13 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.9718, allocations: 354.8 kB / 1.13 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.9721, allocations: 194.2 kB / 1.13 GB, free: 10.74 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.9727, allocations: 323.1 kB / 1.131 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003514/0.9731, allocations: 43.53 kB / 1.131 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=33): time 3.567e-06/0.9731, allocations: 0 / 1.131 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.005178/0.9783, allocations: 1.59 MB / 1.132 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.9783, allocations: 81.11 kB / 1.132 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.98, allocations: 1.147 MB / 1.133 GB, free: 7.48 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.9801, allocations: 37.7 kB / 1.133 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004627/0.9805, allocations: 488.4 kB / 1.134 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.9807, allocations: 122.3 kB / 1.134 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.236e-05/0.9808, allocations: 45.7 kB / 1.134 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.9809, allocations: 330 kB / 1.134 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.9813, allocations: 228.9 kB / 1.135 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.982, allocations: 0.5501 MB / 1.135 GB, free: 5.551 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.983, allocations: 0.688 MB / 1.136 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.983, allocations: 4 kB / 1.136 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002678/0.9857, allocations: 1.115 MB / 1.137 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/0.986, allocations: 279.2 kB / 1.137 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.986, allocations: 4 kB / 1.137 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.9876, allocations: 430.9 kB / 1.138 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.988, allocations: 104.1 kB / 1.138 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.9897, allocations: 1.105 MB / 1.139 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.9907, allocations: 79.83 kB / 1.139 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.9908, allocations: 24 kB / 1.139 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.9908, allocations: 4.109 kB / 1.139 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001635/0.9925, allocations: 0.7948 MB / 1.14 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9925, allocations: 4 kB / 1.14 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.993, allocations: 236.6 kB / 1.14 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.9934, allocations: 91.91 kB / 1.14 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.9974, allocations: 3.057 MB / 1.143 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.9985, allocations: 75.98 kB / 1.143 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.9985, allocations: 23.98 kB / 1.143 GB, free: 13.11 MB / 0.9044 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.0007235/0.9993, allocations: 464.7 kB / 1.143 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.9995, allocations: 102.7 kB / 1.144 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/1.001, allocations: 0.8007 MB / 1.144 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/1.001, allocations: 4 kB / 1.144 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.001, allocations: 3.938 kB / 1.144 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/1.001, allocations: 0 / 1.144 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/1.004, allocations: 1.75 MB / 1.146 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.004, allocations: 0 / 1.146 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/1.004, allocations: 60.16 kB / 1.146 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005846/1.005, allocations: 270.5 kB / 1.146 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/1.005, allocations: 12 kB / 1.146 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/1.006, allocations: 1.04 MB / 1.147 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.006, allocations: 0 / 1.147 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/1.008, allocations: 0.9129 MB / 1.148 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/1.008, allocations: 227.8 kB / 1.149 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.008, allocations: 15.92 kB / 1.149 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007029/1.009, allocations: 59.78 kB / 1.149 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/1.009, allocations: 31.95 kB / 1.149 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/1.009, allocations: 12 kB / 1.149 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001111/1.01, allocations: 0.8158 MB / 1.149 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.6e-07/1.01, allocations: 0 / 1.149 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0014/1.012, allocations: 463.5 kB / 1.15 GB, free: 5.906 MB / 0.9044 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.0004269/1.012, allocations: 175.2 kB / 1.15 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002851/1.015, allocations: 1.288 MB / 1.151 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.015, allocations: 0 / 1.151 GB, free: 4.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000735/1.016, allocations: 312.1 kB / 1.152 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/1.019, allocations: 0.6326 MB / 1.152 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/1.023, allocations: 2.178 MB / 1.154 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/1.023, allocations: 1.193 MB / 1.155 GB, free: 32 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001016/1.024, allocations: 316.4 kB / 1.156 GB, free: 15.72 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/1.025, allocations: 63.42 kB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/1.025, allocations: 0 / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of Templates: time 0.03554/1.06, allocations: 20.91 MB / 1.176 GB, free: 10.95 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches