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.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.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.0009878/0.0009879, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009786/0.0009788, allocations: 177.3 kB / 15.94 MB, free: 228 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.393/1.393, allocations: 223.2 MB / 239.9 MB, free: 5.285 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.362/2.362, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.6994, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1715/0.8709, allocations: 135.7 MB / 1.086 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.8754, allocations: 3.104 MB / 1.089 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.8757, allocations: 7.938 kB / 1.089 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.8764, allocations: 179.2 kB / 1.089 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.8779, allocations: 0.5063 MB / 1.09 GB, free: 4.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.8792, allocations: 455.3 kB / 1.09 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001865/0.8811, allocations: 1.502 MB / 1.092 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.882, allocations: 0.7034 MB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.8831, allocations: 0.7046 MB / 1.093 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005653/0.8836, allocations: 497.8 kB / 1.093 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.8837, allocations: 32 kB / 1.094 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.8847, allocations: 419.4 kB / 1.094 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.885, allocations: 255.1 kB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.8853, allocations: 233.1 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.8863, allocations: 0.9665 MB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8863, allocations: 3.938 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.789e-06/0.8863, allocations: 0 / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.8863, allocations: 11.94 kB / 1.095 GB, free: 14.51 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.002159/0.8885, allocations: 1.28 MB / 1.097 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.8885, allocations: 8.031 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.8893, allocations: 194.4 kB / 1.097 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.8909, allocations: 0.7963 MB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.8909, allocations: 45 kB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.891, allocations: 59.98 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.8922, allocations: 0.7888 MB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.8923, allocations: 3.938 kB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.8923, allocations: 24 kB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.8923, allocations: 15.94 kB / 1.098 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009343/0.8933, allocations: 0.5383 MB / 1.099 GB, free: 10.57 MB / 0.8575 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.004667/0.898, allocations: 4.603 MB / 1.104 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.8987, allocations: 434.2 kB / 1.104 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.8988, allocations: 19.98 kB / 1.104 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005546/0.8994, allocations: 301.7 kB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/0.8994, allocations: 0 / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of matching and sorting (n=31): time 0.004896/0.9043, allocations: 1.651 MB / 1.106 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.9044, allocations: 118.7 kB / 1.106 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.9059, allocations: 1.114 MB / 1.107 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.012e-05/0.906, allocations: 33.7 kB / 1.107 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.9065, allocations: 496.2 kB / 1.108 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.9066, allocations: 110.4 kB / 1.108 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.9066, allocations: 8.219 kB / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.9069, allocations: 330 kB / 1.108 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.9072, allocations: 188.7 kB / 1.108 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.9079, allocations: 0.4979 MB / 1.109 GB, free: 72 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.9084, allocations: 292 kB / 1.109 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.9084, allocations: 8 kB / 1.109 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002309/0.9107, allocations: 0.9758 MB / 1.11 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.001544/0.9123, allocations: 2.124 MB / 1.112 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.9123, allocations: 8 kB / 1.112 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.9138, allocations: 361.6 kB / 1.112 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.9141, allocations: 63.91 kB / 1.112 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.916, allocations: 1.101 MB / 1.113 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9174, allocations: 103.3 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.9175, allocations: 28.45 kB / 1.114 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.9175, allocations: 4 kB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001671/0.9192, allocations: 0.7395 MB / 1.114 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.9192, allocations: 8 kB / 1.114 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.9199, allocations: 217.3 kB / 1.115 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.9201, allocations: 63.91 kB / 1.115 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004152/0.9243, allocations: 3.107 MB / 1.118 GB, free: 6.523 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/0.9253, allocations: 91.69 kB / 1.118 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.9253, allocations: 20 kB / 1.118 GB, free: 6.414 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007336/0.9261, allocations: 480.5 kB / 1.118 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.9262, allocations: 98.78 kB / 1.118 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.9275, allocations: 0.6959 MB / 1.119 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9275, allocations: 4 kB / 1.119 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.9275, allocations: 4 kB / 1.119 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9275, allocations: 3.953 kB / 1.119 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.9292, allocations: 1.099 MB / 1.12 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.9293, allocations: 0 / 1.12 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.9294, allocations: 32.14 kB / 1.12 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005255/0.9299, allocations: 250.3 kB / 1.12 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.93, allocations: 12 kB / 1.12 GB, free: 3.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.931, allocations: 1.037 MB / 1.121 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.931, allocations: 0 / 1.121 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.9323, allocations: 0.8481 MB / 1.122 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.9327, allocations: 215.8 kB / 1.122 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.9329, allocations: 11.98 kB / 1.122 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.9334, allocations: 59.8 kB / 1.122 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.9335, allocations: 35.89 kB / 1.122 GB, free: 1.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.9336, allocations: 12 kB / 1.122 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001121/0.9347, allocations: 0.7877 MB / 1.123 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9347, allocations: 4 kB / 1.123 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001476/0.9362, allocations: 447.4 kB / 1.124 GB, free: 72 kB / 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005204/0.9367, allocations: 184.5 kB / 1.124 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002725/0.9395, allocations: 1.207 MB / 1.125 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.9395, allocations: 4 kB / 1.125 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.9401, allocations: 269.2 kB / 1.125 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.9424, allocations: 458.4 kB / 1.126 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.9459, allocations: 2.015 MB / 1.128 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008848/0.9468, allocations: 1.204 MB / 1.129 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001038/0.9479, allocations: 315.6 kB / 1.129 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.9481, allocations: 55.44 kB / 1.129 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of SimCode: time 1.093e-06/0.9481, allocations: 0 / 1.129 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.03276/0.9808, allocations: 17.95 MB / 1.147 GB, free: 8.504 MB / 0.9044 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","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches