Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_11_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_11_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.001037/0.001037, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007952/0.007953, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.618/1.618, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.058/3.058, allocations: 470.6 MB / 0.7442 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004273, allocations: 10.5 kB / 0.9123 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3575, allocations: 161.4 MB / 1.07 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1934/0.551, allocations: 157.3 MB / 1.223 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.5553, allocations: 1.757 MB / 1.225 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006531/0.556, allocations: 11.94 kB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.5568, allocations: 127.2 kB / 1.225 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.5585, allocations: 0.5019 MB / 1.226 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.5597, allocations: 344.5 kB / 1.226 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.5639, allocations: 3.512 MB / 1.23 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/0.5672, allocations: 2.218 MB / 1.232 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.5694, allocations: 0.8908 MB / 1.233 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.5706, allocations: 0.7116 MB / 1.233 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.5707, allocations: 36 kB / 1.233 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.5725, allocations: 0.795 MB / 1.234 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003908/0.5729, allocations: 286.8 kB / 1.234 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009515/0.5739, allocations: 0.5222 MB / 1.235 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.5764, allocations: 1.386 MB / 1.236 GB, free: 344 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.5764, allocations: 4 kB / 1.236 GB, free: 340 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.415e-06/0.5764, allocations: 0 / 1.236 GB, free: 340 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.5764, allocations: 0 / 1.236 GB, free: 340 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.002918/0.5794, allocations: 1.299 MB / 1.238 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.5794, allocations: 8.031 kB / 1.238 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008828/0.5803, allocations: 186.5 kB / 1.238 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.5817, allocations: 0.806 MB / 1.239 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.5818, allocations: 41 kB / 1.239 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.5819, allocations: 60 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.5834, allocations: 0.8239 MB / 1.239 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.5834, allocations: 7.938 kB / 1.239 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.5835, allocations: 20 kB / 1.239 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.5835, allocations: 20 kB / 1.239 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.5847, allocations: 0.5734 MB / 1.24 GB, free: 12.3 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.005006/0.5897, allocations: 4.258 MB / 1.244 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.5906, allocations: 446.1 kB / 1.245 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.5912, allocations: 353.7 kB / 1.245 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.5915, allocations: 194.2 kB / 1.245 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000611/0.5921, allocations: 335.1 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003166/0.5925, allocations: 27.69 kB / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.5925, allocations: 0 / 1.245 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005531/0.598, allocations: 1.711 MB / 1.247 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.5981, allocations: 81.11 kB / 1.247 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/0.5998, allocations: 1.151 MB / 1.248 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.5999, allocations: 33.7 kB / 1.248 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005389/0.6004, allocations: 488.4 kB / 1.249 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6006, allocations: 114.4 kB / 1.249 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.6007, allocations: 45.7 kB / 1.249 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.6009, allocations: 334 kB / 1.249 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.6013, allocations: 228.9 kB / 1.25 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.6021, allocations: 0.5462 MB / 1.25 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.6032, allocations: 0.6906 MB / 1.251 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6033, allocations: 7.938 kB / 1.251 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.6427/1.246, allocations: 1.112 MB / 1.252 GB, free: 26.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/1.246, allocations: 278.9 kB / 1.252 GB, free: 26.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.246, allocations: 5.625 kB / 1.252 GB, free: 26.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/1.247, allocations: 368.1 kB / 1.252 GB, free: 26.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/1.248, allocations: 101 kB / 1.253 GB, free: 26.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/1.249, allocations: 1.043 MB / 1.254 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/1.25, allocations: 79.2 kB / 1.254 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/1.25, allocations: 25.75 kB / 1.254 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/1.25, allocations: 3.281 kB / 1.254 GB, free: 25.97 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001653/1.252, allocations: 0.7923 MB / 1.254 GB, free: 25.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.252, allocations: 4.531 kB / 1.254 GB, free: 25.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/1.252, allocations: 242.5 kB / 1.255 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/1.253, allocations: 97.14 kB / 1.255 GB, free: 25.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/1.256, allocations: 3.033 MB / 1.258 GB, free: 24.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009112/1.257, allocations: 76.3 kB / 1.258 GB, free: 24.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/1.257, allocations: 29.62 kB / 1.258 GB, free: 24.57 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 {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004988/1.258, allocations: 473.4 kB / 1.258 GB, free: 24.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.258, allocations: 104.3 kB / 1.258 GB, free: 24.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.259, allocations: 0.7884 MB / 1.259 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.259, allocations: 2.844 kB / 1.259 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/1.259, allocations: 0 / 1.259 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.259, allocations: 11.77 kB / 1.259 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/1.261, allocations: 1.724 MB / 1.261 GB, free: 23.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.261, allocations: 2.781 kB / 1.261 GB, free: 23.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/1.261, allocations: 62.62 kB / 1.261 GB, free: 23.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/1.262, allocations: 249.8 kB / 1.261 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/1.262, allocations: 7.234 kB / 1.261 GB, free: 23.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007629/1.263, allocations: 1.004 MB / 1.262 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.263, allocations: 7.5 kB / 1.262 GB, free: 23.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/1.264, allocations: 0.9075 MB / 1.263 GB, free: 22.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/1.264, allocations: 225.6 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/1.264, allocations: 9.859 kB / 1.263 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/1.265, allocations: 61.86 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/1.265, allocations: 34.56 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/1.265, allocations: 12.91 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009335/1.266, allocations: 0.8164 MB / 1.264 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.266, allocations: 0 / 1.264 GB, free: 22.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001165/1.267, allocations: 464.8 kB / 1.265 GB, free: 22.7 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 {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003984/1.268, allocations: 168.9 kB / 1.265 GB, free: 22.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.27, allocations: 1.155 MB / 1.266 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.27, allocations: 0 / 1.266 GB, free: 22.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005258/1.27, allocations: 264.8 kB / 1.266 GB, free: 22.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/1.273, allocations: 0.6294 MB / 1.267 GB, free: 22.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/1.276, allocations: 2.072 MB / 1.269 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/1.277, allocations: 1.189 MB / 1.27 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001105/1.278, allocations: 319.8 kB / 1.27 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/1.279, allocations: 64.77 kB / 1.27 GB, free: 20.54 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.279, allocations: 0 / 1.27 GB, free: 20.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.0419/1.32, allocations: 21.23 MB / 1.291 GB, free: 19.19 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches