Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001125/0.001125, allocations: 98.03 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.01028/0.01028, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.678/1.678, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.164/3.164, allocations: 470.6 MB / 0.7442 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004353, allocations: 13.44 kB / 0.9123 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.333, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1907/0.5238, allocations: 157.3 MB / 1.223 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003513/0.5273, allocations: 1.755 MB / 1.225 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.5278, allocations: 11.94 kB / 1.225 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.5284, allocations: 131.2 kB / 1.225 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.5298, allocations: 0.4941 MB / 1.226 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.5309, allocations: 355.2 kB / 1.226 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0038/0.5347, allocations: 3.497 MB / 1.23 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.5379, allocations: 2.215 MB / 1.232 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.5405, allocations: 0.8986 MB / 1.233 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.5418, allocations: 0.7155 MB / 1.233 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.542, allocations: 36 kB / 1.233 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.5438, allocations: 0.795 MB / 1.234 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004187/0.5443, allocations: 282.8 kB / 1.234 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008605/0.5451, allocations: 0.5378 MB / 1.235 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.5471, allocations: 1.382 MB / 1.236 GB, free: 348 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5471, allocations: 0 / 1.236 GB, free: 348 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.716e-06/0.5471, allocations: 0 / 1.236 GB, free: 348 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.5472, allocations: 4 kB / 1.236 GB, free: 344 kB / 0.9825 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.002259/0.5494, allocations: 1.287 MB / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5495, allocations: 12.03 kB / 1.238 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/0.5502, allocations: 190.5 kB / 1.238 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.5515, allocations: 0.8022 MB / 1.239 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.5516, allocations: 45 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.726e-05/0.5517, allocations: 59.94 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.553, allocations: 0.8304 MB / 1.239 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.553, allocations: 0 / 1.239 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.02e-05/0.5531, allocations: 24 kB / 1.239 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.5531, allocations: 15.94 kB / 1.239 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5541, allocations: 0.5735 MB / 1.24 GB, free: 12.31 MB / 0.9981 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.004414/0.5586, allocations: 4.254 MB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.5594, allocations: 454.1 kB / 1.245 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.5599, allocations: 353.7 kB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/0.5603, allocations: 194.2 kB / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006413/0.561, allocations: 323.1 kB / 1.245 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002556/0.5612, allocations: 31.69 kB / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.084e-06/0.5612, allocations: 0 / 1.245 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005079/0.5663, allocations: 1.594 MB / 1.247 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.5664, allocations: 89.03 kB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.5681, allocations: 1.147 MB / 1.248 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.233e-05/0.5682, allocations: 41.69 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/0.5687, allocations: 484.4 kB / 1.249 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.5688, allocations: 114.4 kB / 1.249 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.5689, allocations: 45.7 kB / 1.249 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5691, allocations: 326 kB / 1.249 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.5696, allocations: 232.9 kB / 1.249 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007554/0.5704, allocations: 0.5501 MB / 1.25 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.5715, allocations: 0.6864 MB / 1.251 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.5716, allocations: 4 kB / 1.251 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.6925/1.264, allocations: 1.111 MB / 1.252 GB, free: 26.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002071/1.264, allocations: 279.1 kB / 1.252 GB, free: 26.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/1.264, allocations: 5.188 kB / 1.252 GB, free: 26.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/1.266, allocations: 432.4 kB / 1.252 GB, free: 26.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/1.267, allocations: 99.59 kB / 1.253 GB, free: 26.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/1.268, allocations: 1.111 MB / 1.254 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.269, allocations: 76.03 kB / 1.254 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/1.269, allocations: 25.3 kB / 1.254 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/1.269, allocations: 8.125 kB / 1.254 GB, free: 25.86 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00172/1.271, allocations: 0.7806 MB / 1.254 GB, free: 25.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.271, allocations: 10.31 kB / 1.254 GB, free: 25.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/1.272, allocations: 228.9 kB / 1.255 GB, free: 25.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/1.272, allocations: 95.98 kB / 1.255 GB, free: 25.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/1.276, allocations: 3.061 MB / 1.258 GB, free: 24.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.277, allocations: 84.78 kB / 1.258 GB, free: 24.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/1.277, allocations: 22.53 kB / 1.258 GB, free: 24.45 MB / 0.9981 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.0006894/1.278, allocations: 466.2 kB / 1.258 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/1.278, allocations: 107.2 kB / 1.258 GB, free: 24.26 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/1.279, allocations: 0.7892 MB / 1.259 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.279, allocations: 4.328 kB / 1.259 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.279, allocations: 7.328 kB / 1.259 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.279, allocations: 2.969 kB / 1.259 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/1.282, allocations: 1.738 MB / 1.261 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.282, allocations: 3.453 kB / 1.261 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.282, allocations: 55.73 kB / 1.261 GB, free: 23.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/1.283, allocations: 276.2 kB / 1.261 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/1.283, allocations: 12.8 kB / 1.261 GB, free: 23.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009356/1.284, allocations: 1.044 MB / 1.262 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.284, allocations: 3.406 kB / 1.262 GB, free: 23.12 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/1.285, allocations: 0.9135 MB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/1.285, allocations: 232 kB / 1.263 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.285, allocations: 7.359 kB / 1.263 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006119/1.286, allocations: 64.02 kB / 1.263 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.286, allocations: 30 kB / 1.263 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/1.286, allocations: 14.55 kB / 1.263 GB, free: 22.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001156/1.287, allocations: 0.815 MB / 1.264 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.287, allocations: 4 kB / 1.264 GB, free: 22.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001356/1.289, allocations: 460.7 kB / 1.265 GB, free: 22.55 MB / 0.9981 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.0005062/1.289, allocations: 170.4 kB / 1.265 GB, free: 22.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002759/1.292, allocations: 1.278 MB / 1.266 GB, free: 22.16 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.292, allocations: 2.438 kB / 1.266 GB, free: 22.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/1.293, allocations: 313.5 kB / 1.266 GB, free: 22.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/1.296, allocations: 0.6315 MB / 1.267 GB, free: 22.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/1.3, allocations: 2.174 MB / 1.269 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/1.301, allocations: 1.185 MB / 1.27 GB, free: 20.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001163/1.302, allocations: 318.3 kB / 1.271 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/1.302, allocations: 63.5 kB / 1.271 GB, free: 20.35 MB / 0.9981 GB Notification: Performance of SimCode: time 3.156e-06/1.302, allocations: 0 / 1.271 GB, free: 20.35 MB / 0.9981 GB Notification: Performance of Templates: time 0.03951/1.341, allocations: 20.92 MB / 1.291 GB, free: 19.03 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches