Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.334/2.334, allocations: 390.3 MB / 402.8 MB, free: 6.691 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 164.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 221.3 MB / 0.7915 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 87.95 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.738e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3596, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.552/6.912, allocations: 1.87 GB / 3.089 GB, free: 334.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/6.912, allocations: 88.98 kB / 3.089 GB, free: 334.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.928/10.84, allocations: 0.9684 GB / 4.057 GB, free: 297.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.024e-06/10.84, allocations: 0 / 4.057 GB, free: 297.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001662/10.84, allocations: 35.98 kB / 4.057 GB, free: 297 MB / 1.167 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.002849/10.84, allocations: 1.135 MB / 4.058 GB, free: 295.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/10.84, allocations: 12.03 kB / 4.058 GB, free: 295.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/10.84, allocations: 186.5 kB / 4.059 GB, free: 295.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/10.85, allocations: 1.081 MB / 4.06 GB, free: 294.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/10.85, allocations: 45 kB / 4.06 GB, free: 294.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/10.85, allocations: 56 kB / 4.06 GB, free: 294.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/10.85, allocations: 0.7454 MB / 4.06 GB, free: 293.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/10.85, allocations: 4 kB / 4.06 GB, free: 293.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.374e-05/10.85, allocations: 20 kB / 4.06 GB, free: 293.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/10.85, allocations: 16 kB / 4.06 GB, free: 293.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006966/10.85, allocations: 474.6 kB / 4.061 GB, free: 293.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.004238/10.85, allocations: 4.598 MB / 4.065 GB, free: 288.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/10.85, allocations: 391.3 kB / 4.066 GB, free: 287.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/10.85, allocations: 223.2 kB / 4.066 GB, free: 287.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/10.85, allocations: 194.2 kB / 4.066 GB, free: 287.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/10.86, allocations: 283.2 kB / 4.066 GB, free: 287 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/10.86, allocations: 0 / 4.066 GB, free: 287 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.0009498/10.86, allocations: 452 kB / 4.067 GB, free: 286.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/10.86, allocations: 89 kB / 4.067 GB, free: 286.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/10.86, allocations: 0.9686 MB / 4.068 GB, free: 285.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/10.86, allocations: 41.7 kB / 4.068 GB, free: 285.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002743/10.86, allocations: 492.5 kB / 4.068 GB, free: 284.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/10.86, allocations: 114.5 kB / 4.069 GB, free: 284.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/10.86, allocations: 8 kB / 4.069 GB, free: 284.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/10.86, allocations: 325.9 kB / 4.069 GB, free: 284.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/10.86, allocations: 164.8 kB / 4.069 GB, free: 284.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/10.86, allocations: 492.8 kB / 4.069 GB, free: 283.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/10.86, allocations: 275.5 kB / 4.07 GB, free: 283.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/10.86, allocations: 0 / 4.07 GB, free: 283.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00077/10.86, allocations: 0.6412 MB / 4.07 GB, free: 282.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004155/10.86, allocations: 2.139 MB / 4.072 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/10.86, allocations: 15.94 kB / 4.072 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/10.86, allocations: 8 kB / 4.072 GB, free: 280.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/10.86, allocations: 291.8 kB / 4.073 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/10.86, allocations: 6.075 MB / 4.079 GB, free: 273.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/10.86, allocations: 103.5 kB / 4.079 GB, free: 273.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-05/10.86, allocations: 27.94 kB / 4.079 GB, free: 273.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/10.86, allocations: 4 kB / 4.079 GB, free: 273.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005942/10.87, allocations: 0.4931 MB / 4.079 GB, free: 273.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/10.87, allocations: 4 kB / 4.079 GB, free: 273.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/10.87, allocations: 16.61 kB / 4.079 GB, free: 273.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/10.87, allocations: 147.8 kB / 4.079 GB, free: 273 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/10.87, allocations: 15.92 kB / 4.079 GB, free: 273 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/10.87, allocations: 99.47 kB / 4.08 GB, free: 272.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/10.87, allocations: 20 kB / 4.08 GB, free: 272.9 MB / 1.167 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001441/10.87, allocations: 148.8 kB / 4.08 GB, free: 272.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/10.87, allocations: 98.72 kB / 4.08 GB, free: 272.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007325/10.87, allocations: 466.7 kB / 4.08 GB, free: 272.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/10.87, allocations: 3.953 kB / 4.08 GB, free: 272.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/10.87, allocations: 7.984 kB / 4.08 GB, free: 272.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/10.87, allocations: 0 / 4.08 GB, free: 272.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/10.87, allocations: 1.353 MB / 4.082 GB, free: 270.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/10.87, allocations: 4 kB / 4.082 GB, free: 270.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/10.87, allocations: 152 kB / 4.082 GB, free: 270.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/10.87, allocations: 8 kB / 4.082 GB, free: 270.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/10.87, allocations: 11.98 kB / 4.082 GB, free: 270.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/10.87, allocations: 6.017 MB / 4.088 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/10.87, allocations: 3.953 kB / 4.088 GB, free: 264.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006008/10.87, allocations: 0.6554 MB / 4.088 GB, free: 263.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/10.87, allocations: 211.8 kB / 4.088 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/10.87, allocations: 11.95 kB / 4.089 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/10.87, allocations: 59.78 kB / 4.089 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/10.87, allocations: 27.97 kB / 4.089 GB, free: 263.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/10.87, allocations: 15.98 kB / 4.089 GB, free: 263.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008319/10.87, allocations: 0.7688 MB / 4.089 GB, free: 262.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/10.87, allocations: 3.938 kB / 4.089 GB, free: 262.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001425/10.88, allocations: 487.6 kB / 4.09 GB, free: 262 MB / 1.167 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/10.88, allocations: 0.9038 MB / 4.091 GB, free: 261.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002179/10.88, allocations: 0.9476 MB / 4.092 GB, free: 260.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/10.88, allocations: 0 / 4.092 GB, free: 260.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/10.88, allocations: 255.6 kB / 4.092 GB, free: 259.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/10.88, allocations: 465.4 kB / 4.092 GB, free: 259.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/10.88, allocations: 1.371 MB / 4.094 GB, free: 258 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/10.88, allocations: 1.206 MB / 4.095 GB, free: 256.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001959/10.89, allocations: 0.7802 MB / 4.096 GB, free: 255.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/10.89, allocations: 51.44 kB / 4.096 GB, free: 255.9 MB / 1.167 GB Notification: Performance of SimCode: time 7.51e-07/10.89, allocations: 0 / 4.096 GB, free: 255.9 MB / 1.167 GB Notification: Performance of Templates: time 0.04357/10.93, allocations: 31.9 MB / 4.127 GB, free: 224.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches