Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001257/0.001257, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.251/2.251, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 64.56 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2797, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.7192/0.999, allocations: 161.6 MB / 1.108 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004912/1.004, allocations: 3.62 MB / 1.112 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/1.004, allocations: 12.12 kB / 1.112 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00067/1.005, allocations: 164.6 kB / 1.112 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/1.007, allocations: 0.5231 MB / 1.112 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001463/1.008, allocations: 434.5 kB / 1.113 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003244/1.012, allocations: 2.533 MB / 1.115 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/1.013, allocations: 0.947 MB / 1.116 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/1.016, allocations: 1.029 MB / 1.117 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/1.017, allocations: 0.7066 MB / 1.118 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/1.017, allocations: 54.62 kB / 1.118 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/1.019, allocations: 0.7386 MB / 1.119 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004836/1.02, allocations: 309.4 kB / 1.119 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.021, allocations: 0.5413 MB / 1.119 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/1.023, allocations: 1.387 MB / 1.121 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.023, allocations: 0 / 1.121 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.023, allocations: 0 / 1.121 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.798e-05/1.023, allocations: 1.125 kB / 1.121 GB, free: 4.707 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002779/1.026, allocations: 1.449 MB / 1.122 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.026, allocations: 9.656 kB / 1.122 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008322/1.027, allocations: 189.9 kB / 1.122 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.028, allocations: 0.8033 MB / 1.123 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/1.028, allocations: 51.47 kB / 1.123 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.704e-05/1.028, allocations: 55.38 kB / 1.123 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/1.03, allocations: 0.7877 MB / 1.124 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.03, allocations: 8.125 kB / 1.124 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/1.03, allocations: 21.42 kB / 1.124 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/1.03, allocations: 13.81 kB / 1.124 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/1.031, allocations: 0.5334 MB / 1.125 GB, free: 19.18 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.004483/1.035, allocations: 4.608 MB / 1.129 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007128/1.036, allocations: 415.1 kB / 1.129 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/1.037, allocations: 250.2 kB / 1.13 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/1.037, allocations: 195.6 kB / 1.13 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/1.037, allocations: 297.2 kB / 1.13 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.534e-06/1.037, allocations: 0 / 1.13 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.004878/1.042, allocations: 1.641 MB / 1.132 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/1.042, allocations: 82.84 kB / 1.132 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.044, allocations: 1.119 MB / 1.133 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/1.044, allocations: 41.52 kB / 1.133 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/1.044, allocations: 491.1 kB / 1.133 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/1.044, allocations: 107.6 kB / 1.134 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/1.045, allocations: 110.2 kB / 1.134 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.045, allocations: 328.7 kB / 1.134 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/1.045, allocations: 211.1 kB / 1.134 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/1.046, allocations: 0.5252 MB / 1.135 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/1.046, allocations: 0.6354 MB / 1.135 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.046, allocations: 1.125 kB / 1.135 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002154/1.049, allocations: 1.045 MB / 1.136 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/1.049, allocations: 36.97 kB / 1.136 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.049, allocations: 5.484 kB / 1.136 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/1.05, allocations: 389 kB / 1.137 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/1.05, allocations: 61.5 kB / 1.137 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/1.051, allocations: 1.075 MB / 1.138 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008381/1.052, allocations: 83.42 kB / 1.138 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/1.052, allocations: 24.78 kB / 1.138 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008023/1.053, allocations: 0.4946 MB / 1.138 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004644/1.054, allocations: 487.4 kB / 1.139 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006646/1.054, allocations: 0.5515 MB / 1.139 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/1.054, allocations: 1.125 kB / 1.139 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001495/1.056, allocations: 0.8417 MB / 1.14 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/1.056, allocations: 37.52 kB / 1.14 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.056, allocations: 4.969 kB / 1.14 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/1.056, allocations: 233.7 kB / 1.141 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/1.057, allocations: 66.03 kB / 1.141 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/1.06, allocations: 3.258 MB / 1.144 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/1.061, allocations: 64.28 kB / 1.144 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/1.061, allocations: 24.91 kB / 1.144 GB, free: 10.4 MB / 0.8731 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/1.061, allocations: 219.5 kB / 1.144 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.062, allocations: 101.6 kB / 1.144 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/1.063, allocations: 0.7093 MB / 1.145 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.063, allocations: 3.969 kB / 1.145 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/1.063, allocations: 0.875 kB / 1.145 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.063, allocations: 6.891 kB / 1.145 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/1.065, allocations: 1.601 MB / 1.146 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.065, allocations: 1.156 kB / 1.146 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/1.065, allocations: 23.02 kB / 1.146 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/1.066, allocations: 258.9 kB / 1.147 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/1.066, allocations: 17.8 kB / 1.147 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009989/1.067, allocations: 1.025 MB / 1.148 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.067, allocations: 3.25 kB / 1.148 GB, free: 8.992 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/1.068, allocations: 0.8242 MB / 1.149 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/1.069, allocations: 210.5 kB / 1.149 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.069, allocations: 10.34 kB / 1.149 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/1.069, allocations: 23.22 kB / 1.149 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/1.069, allocations: 29.44 kB / 1.149 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/1.069, allocations: 12.22 kB / 1.149 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001013/1.07, allocations: 0.798 MB / 1.15 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.11e-07/1.07, allocations: 0 / 1.15 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001461/1.072, allocations: 433.8 kB / 1.15 GB, free: 8.41 MB / 0.8731 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004565/1.072, allocations: 173.2 kB / 1.15 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002574/1.075, allocations: 1.213 MB / 1.151 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.075, allocations: 0 / 1.151 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006269/1.075, allocations: 284.9 kB / 1.152 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002126/1.078, allocations: 464.7 kB / 1.152 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/1.08, allocations: 1.847 MB / 1.154 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/1.081, allocations: 1.182 MB / 1.155 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/1.081, allocations: 61.42 kB / 1.155 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/1.081, allocations: 0 / 1.155 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of Templates: time 0.03016/1.112, allocations: 20.47 MB / 1.175 GB, free: 13.76 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches