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/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.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/Buildings 10.0.0-master/package.mo): time 2.364/2.364, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001199/0.001199, allocations: 183.9 kB / 0.4902 GB, free: 2.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009969/0.0009967, allocations: 90.17 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003866, allocations: 10.81 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.222/5.574, allocations: 1.873 GB / 3.102 GB, free: 110.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/5.575, allocations: 95.94 kB / 3.102 GB, free: 110.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.632/9.206, allocations: 0.9813 GB / 4.083 GB, free: 22.05 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.605e-06/9.207, allocations: 0 / 4.083 GB, free: 22.05 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.252e-05/9.207, allocations: 31.98 kB / 4.083 GB, free: 22.02 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002887/9.21, allocations: 1.437 MB / 4.085 GB, free: 20.52 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/9.21, allocations: 11.97 kB / 4.085 GB, free: 20.51 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/9.21, allocations: 186.5 kB / 4.085 GB, free: 20.32 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/9.213, allocations: 1.116 MB / 4.086 GB, free: 19.15 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/9.213, allocations: 41 kB / 4.086 GB, free: 19.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/9.213, allocations: 64 kB / 4.086 GB, free: 19.05 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/9.214, allocations: 0.7614 MB / 4.087 GB, free: 18.21 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/9.214, allocations: 11.92 kB / 4.087 GB, free: 18.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/9.214, allocations: 23.94 kB / 4.087 GB, free: 18.17 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/9.214, allocations: 16 kB / 4.087 GB, free: 18.16 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/9.215, allocations: 0.5149 MB / 4.087 GB, free: 17.64 MB / 1.167 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.003581/9.218, allocations: 4.591 MB / 4.092 GB, free: 12.67 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/9.219, allocations: 418.4 kB / 4.092 GB, free: 12.25 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/9.219, allocations: 194.7 kB / 4.092 GB, free: 12.02 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/9.219, allocations: 302.7 kB / 4.093 GB, free: 11.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/9.219, allocations: 0 / 4.093 GB, free: 11.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.003139/9.223, allocations: 1.304 MB / 4.094 GB, free: 10.38 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/9.223, allocations: 81.11 kB / 4.094 GB, free: 10.28 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/9.224, allocations: 0.9876 MB / 4.095 GB, free: 9.273 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/9.224, allocations: 41.7 kB / 4.095 GB, free: 9.227 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/9.224, allocations: 488.5 kB / 4.095 GB, free: 8.742 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-05/9.224, allocations: 114.7 kB / 4.096 GB, free: 8.629 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/9.224, allocations: 8 kB / 4.096 GB, free: 8.621 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/9.224, allocations: 325.9 kB / 4.096 GB, free: 8.297 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/9.225, allocations: 184.7 kB / 4.096 GB, free: 8.117 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/9.225, allocations: 0.5066 MB / 4.097 GB, free: 7.465 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/9.226, allocations: 291.2 kB / 4.097 GB, free: 7.176 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/9.226, allocations: 0 / 4.097 GB, free: 7.176 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001315/9.227, allocations: 0.9055 MB / 4.098 GB, free: 6.254 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004608/9.227, allocations: 2.123 MB / 4.1 GB, free: 3.965 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/9.227, allocations: 12 kB / 4.1 GB, free: 3.953 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/9.228, allocations: 266.8 kB / 4.1 GB, free: 3.691 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/9.228, allocations: 67.84 kB / 4.1 GB, free: 3.625 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/9.229, allocations: 1.084 MB / 4.101 GB, free: 2.516 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008859/9.23, allocations: 107.4 kB / 4.101 GB, free: 2.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/9.23, allocations: 27.98 kB / 4.101 GB, free: 2.383 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/9.23, allocations: 4 kB / 4.101 GB, free: 2.379 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/9.232, allocations: 0.7128 MB / 4.102 GB, free: 1.656 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/9.232, allocations: 4 kB / 4.102 GB, free: 1.652 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004955/9.232, allocations: 226.1 kB / 4.102 GB, free: 1.43 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/9.232, allocations: 59.91 kB / 4.102 GB, free: 1.371 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8264/10.06, allocations: 3.051 MB / 4.105 GB, free: 369.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/10.06, allocations: 94.64 kB / 4.105 GB, free: 369.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/10.06, allocations: 25.27 kB / 4.105 GB, free: 369.1 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 () * 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.0007083/10.06, allocations: 468.6 kB / 4.106 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/10.06, allocations: 100.1 kB / 4.106 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/10.06, allocations: 0.7101 MB / 4.107 GB, free: 368.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/10.06, allocations: 5.891 kB / 4.107 GB, free: 368.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/10.06, allocations: 3.953 kB / 4.107 GB, free: 368.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/10.06, allocations: 3.234 kB / 4.107 GB, free: 368.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/10.06, allocations: 1.597 MB / 4.108 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/10.06, allocations: 6.484 kB / 4.108 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/10.07, allocations: 26.22 kB / 4.108 GB, free: 368.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/10.07, allocations: 248.8 kB / 4.108 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/10.07, allocations: 13.56 kB / 4.108 GB, free: 368.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/10.07, allocations: 1.021 MB / 4.109 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/10.07, allocations: 8.781 kB / 4.109 GB, free: 367.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/10.07, allocations: 0.9106 MB / 4.11 GB, free: 367.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/10.07, allocations: 222.4 kB / 4.111 GB, free: 367.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/10.07, allocations: 8.109 kB / 4.111 GB, free: 367.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005303/10.07, allocations: 53.28 kB / 4.111 GB, free: 367.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/10.07, allocations: 39.62 kB / 4.111 GB, free: 367.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/10.07, allocations: 14.23 kB / 4.111 GB, free: 367.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001265/10.07, allocations: 0.7823 MB / 4.111 GB, free: 367.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/10.07, allocations: 0 / 4.111 GB, free: 367.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001974/10.07, allocations: 0.5107 MB / 4.112 GB, free: 367.3 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) * 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.001835/10.07, allocations: 0.9705 MB / 4.113 GB, free: 367.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002898/10.08, allocations: 1.179 MB / 4.114 GB, free: 366.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/10.08, allocations: 1.281 kB / 4.114 GB, free: 366.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/10.08, allocations: 282.9 kB / 4.114 GB, free: 366.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/10.08, allocations: 462.3 kB / 4.115 GB, free: 366.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/10.08, allocations: 2.004 MB / 4.117 GB, free: 366 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/10.08, allocations: 1.203 MB / 4.118 GB, free: 365.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001181/10.09, allocations: 321.1 kB / 4.118 GB, free: 365.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/10.09, allocations: 59.45 kB / 4.118 GB, free: 365.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.713e-06/10.09, allocations: 0 / 4.118 GB, free: 365.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05556/10.14, allocations: 29.33 MB / 4.147 GB, free: 364.7 MB / 1.167 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