Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001078/0.001078, allocations: 100.3 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.001248/0.001248, 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.354/1.354, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.00031, allocations: 16 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6859/0.6862, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1455/0.8318, allocations: 135.7 MB / 1.153 GB, free: 9.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.836, allocations: 3.119 MB / 1.156 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.8364, allocations: 7.938 kB / 1.156 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.8369, allocations: 175.2 kB / 1.157 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.8382, allocations: 0.5101 MB / 1.157 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.8394, allocations: 453.2 kB / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.8412, allocations: 1.503 MB / 1.159 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.8421, allocations: 0.7034 MB / 1.16 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.8431, allocations: 0.7007 MB / 1.16 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005863/0.8437, allocations: 497.8 kB / 1.161 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-05/0.8438, allocations: 36 kB / 1.161 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008381/0.8447, allocations: 411.4 kB / 1.161 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.8449, allocations: 259.1 kB / 1.161 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.8452, allocations: 233.1 kB / 1.162 GB, free: 492 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.8461, allocations: 0.9664 MB / 1.163 GB, free: 15.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.8462, allocations: 4 kB / 1.163 GB, free: 15.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8462, allocations: 0 / 1.163 GB, free: 15.51 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.8462, allocations: 4 kB / 1.163 GB, free: 15.5 MB / 0.92 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.002163/0.8484, allocations: 1.288 MB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.8484, allocations: 11.98 kB / 1.164 GB, free: 14.14 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.8492, allocations: 182.4 kB / 1.164 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.8507, allocations: 0.808 MB / 1.165 GB, free: 13.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/0.8507, allocations: 41 kB / 1.165 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.799e-05/0.8508, allocations: 60 kB / 1.165 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.852, allocations: 0.7888 MB / 1.166 GB, free: 12.14 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.852, allocations: 7.922 kB / 1.166 GB, free: 12.13 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.8521, allocations: 24 kB / 1.166 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.8521, allocations: 12 kB / 1.166 GB, free: 12.09 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008911/0.853, allocations: 0.5461 MB / 1.166 GB, free: 11.55 MB / 0.92 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.004056/0.8571, allocations: 4.599 MB / 1.171 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.8578, allocations: 438.1 kB / 1.171 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/0.8579, allocations: 15.98 kB / 1.171 GB, free: 6.113 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.8584, allocations: 301.6 kB / 1.172 GB, free: 5.797 MB / 0.92 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.8584, allocations: 224 / 1.172 GB, free: 5.797 MB / 0.92 GB Notification: Performance of matching and sorting (n=31): time 0.004998/0.8634, allocations: 1.643 MB / 1.173 GB, free: 4.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.8635, allocations: 122.7 kB / 1.173 GB, free: 3.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.8648, allocations: 1.114 MB / 1.174 GB, free: 2.848 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.8649, allocations: 41.7 kB / 1.174 GB, free: 2.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.8653, allocations: 488.2 kB / 1.175 GB, free: 2.316 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.8654, allocations: 110.5 kB / 1.175 GB, free: 2.207 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.8654, allocations: 4 kB / 1.175 GB, free: 2.203 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8656, allocations: 329.9 kB / 1.175 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.8659, allocations: 184.7 kB / 1.175 GB, free: 1.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.8665, allocations: 0.494 MB / 1.176 GB, free: 1.062 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.8669, allocations: 301.6 kB / 1.176 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8669, allocations: 4 kB / 1.176 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00207/0.869, allocations: 0.9709 MB / 1.177 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008284/0.8699, allocations: 2.138 MB / 1.179 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.8699, allocations: 8 kB / 1.179 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.8711, allocations: 354.2 kB / 1.18 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.8714, allocations: 63.89 kB / 1.18 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.8728, allocations: 1.1 MB / 1.181 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/0.8736, allocations: 107.4 kB / 1.181 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.8737, allocations: 27.92 kB / 1.181 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.8737, allocations: 4 kB / 1.181 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.875, allocations: 0.73 MB / 1.182 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8751, allocations: 4 kB / 1.182 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.8757, allocations: 237.2 kB / 1.182 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.8759, allocations: 55.91 kB / 1.182 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.8796, allocations: 3.109 MB / 1.185 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.8805, allocations: 103.6 kB / 1.185 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.8805, allocations: 16 kB / 1.185 GB, free: 7.391 MB / 0.9356 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.0006031/0.8811, allocations: 464.7 kB / 1.185 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.8813, allocations: 106.8 kB / 1.186 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.8825, allocations: 0.6997 MB / 1.186 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.8826, allocations: 4 kB / 1.186 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.8826, allocations: 3.938 kB / 1.186 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.8826, allocations: 3.984 kB / 1.186 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.8841, allocations: 1.095 MB / 1.187 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.8841, allocations: 0 / 1.187 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.8842, allocations: 32.2 kB / 1.187 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.8847, allocations: 250 kB / 1.188 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.8847, allocations: 11.95 kB / 1.188 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009368/0.8857, allocations: 1.026 MB / 1.189 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8857, allocations: 8.031 kB / 1.189 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.8869, allocations: 0.8558 MB / 1.189 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.8872, allocations: 223.8 kB / 1.19 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8873, allocations: 8 kB / 1.19 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.8878, allocations: 59.78 kB / 1.19 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.8879, allocations: 39.84 kB / 1.19 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.8879, allocations: 8 kB / 1.19 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008947/0.8888, allocations: 0.7877 MB / 1.191 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8889, allocations: 4 kB / 1.191 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00116/0.89, allocations: 451.4 kB / 1.191 GB, free: 1.039 MB / 0.9356 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.0003749/0.8904, allocations: 171.8 kB / 1.191 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.8928, allocations: 1.197 MB / 1.192 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8929, allocations: 0 / 1.192 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/0.8935, allocations: 284.2 kB / 1.193 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.8954, allocations: 453.8 kB / 1.193 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.8982, allocations: 2.014 MB / 1.195 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/0.8989, allocations: 1.204 MB / 1.196 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008869/0.8998, allocations: 311.6 kB / 1.196 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.9, allocations: 63.42 kB / 1.197 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of SimCode: time 5.41e-07/0.9, allocations: 0 / 1.197 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of Templates: time 0.02881/0.9288, allocations: 17.95 MB / 1.214 GB, free: 9.496 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches