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.338/2.338, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009961/0.0009964, allocations: 180.8 kB / 496.1 MB, free: 12.85 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.845/1.845, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001048/0.001048, allocations: 91.95 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.348e-05/3.352e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3598, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.33/6.69, allocations: 1.873 GB / 3.091 GB, free: 383.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/6.69, allocations: 88.73 kB / 3.091 GB, free: 383.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.456/10.15, allocations: 0.9805 GB / 4.072 GB, free: 268.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.744e-06/10.15, allocations: 0 / 4.072 GB, free: 268.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001775/10.15, allocations: 31.98 kB / 4.072 GB, free: 268.3 MB / 1.151 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.002833/10.15, allocations: 1.151 MB / 4.073 GB, free: 267.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/10.15, allocations: 15.97 kB / 4.073 GB, free: 267.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/10.15, allocations: 182.5 kB / 4.073 GB, free: 266.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/10.15, allocations: 1.092 MB / 4.074 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/10.15, allocations: 52.27 kB / 4.074 GB, free: 265.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/10.15, allocations: 60 kB / 4.074 GB, free: 265.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/10.15, allocations: 0.7338 MB / 4.075 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/10.15, allocations: 11.94 kB / 4.075 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.499e-05/10.15, allocations: 23.94 kB / 4.075 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/10.15, allocations: 16 kB / 4.075 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/10.16, allocations: 470.6 kB / 4.076 GB, free: 264.3 MB / 1.151 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.004159/10.16, allocations: 4.602 MB / 4.08 GB, free: 259.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/10.16, allocations: 382.5 kB / 4.08 GB, free: 259 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/10.16, allocations: 226.7 kB / 4.081 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/10.16, allocations: 194.2 kB / 4.081 GB, free: 258.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/10.16, allocations: 271.2 kB / 4.081 GB, free: 258.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/10.16, allocations: 4 kB / 4.081 GB, free: 258.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001372/10.16, allocations: 0.6682 MB / 4.082 GB, free: 257.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/10.16, allocations: 81.11 kB / 4.082 GB, free: 257.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/10.16, allocations: 0.9845 MB / 4.083 GB, free: 256.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/10.16, allocations: 33.7 kB / 4.083 GB, free: 256.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/10.16, allocations: 484.6 kB / 4.083 GB, free: 255.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/10.16, allocations: 110.5 kB / 4.083 GB, free: 255.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/10.16, allocations: 12 kB / 4.083 GB, free: 255.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.99e-05/10.16, allocations: 326 kB / 4.084 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/10.16, allocations: 160.8 kB / 4.084 GB, free: 255.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/10.16, allocations: 493.2 kB / 4.084 GB, free: 254.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/10.16, allocations: 287.5 kB / 4.085 GB, free: 254.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/10.16, allocations: 4 kB / 4.085 GB, free: 254.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001249/10.17, allocations: 0.8515 MB / 4.085 GB, free: 253.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005573/10.17, allocations: 2.136 MB / 4.088 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/10.17, allocations: 4 kB / 4.088 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/10.17, allocations: 256 kB / 4.088 GB, free: 251 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/10.17, allocations: 68.06 kB / 4.088 GB, free: 250.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/10.17, allocations: 1.079 MB / 4.089 GB, free: 249.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009473/10.17, allocations: 107.4 kB / 4.089 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/10.17, allocations: 20 kB / 4.089 GB, free: 249.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/10.17, allocations: 4 kB / 4.089 GB, free: 249.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/10.17, allocations: 0.6733 MB / 4.09 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/10.17, allocations: 8.625 kB / 4.09 GB, free: 249 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/10.17, allocations: 218.2 kB / 4.09 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/10.17, allocations: 67.89 kB / 4.09 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/10.17, allocations: 2.962 MB / 4.093 GB, free: 245.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/10.18, allocations: 99.58 kB / 4.093 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/10.18, allocations: 24 kB / 4.093 GB, free: 245.5 MB / 1.151 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 (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.0001842/10.18, allocations: 144.4 kB / 4.093 GB, free: 245.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/10.18, allocations: 98.97 kB / 4.093 GB, free: 245.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/10.18, allocations: 0.6791 MB / 4.094 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/10.18, allocations: 7.984 kB / 4.094 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/10.18, allocations: 0 / 4.094 GB, free: 244.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/10.18, allocations: 7.984 kB / 4.094 GB, free: 244.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/10.18, allocations: 1.561 MB / 4.095 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/10.18, allocations: 4 kB / 4.095 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/10.18, allocations: 23.92 kB / 4.095 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/10.18, allocations: 234.9 kB / 4.096 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/10.18, allocations: 8 kB / 4.096 GB, free: 242.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00081/10.18, allocations: 1.033 MB / 4.097 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/10.18, allocations: 4 kB / 4.097 GB, free: 241.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/10.18, allocations: 0.8631 MB / 4.098 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/10.18, allocations: 235.6 kB / 4.098 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/10.18, allocations: 8 kB / 4.098 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/10.18, allocations: 63.78 kB / 4.098 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/10.18, allocations: 27.92 kB / 4.098 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/10.18, allocations: 11.98 kB / 4.098 GB, free: 240.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009671/10.18, allocations: 0.7729 MB / 4.099 GB, free: 239.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/10.18, allocations: 4 kB / 4.099 GB, free: 239.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001934/10.19, allocations: 0.5114 MB / 4.099 GB, free: 239 MB / 1.151 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 (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.001622/10.19, allocations: 0.9566 MB / 4.1 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002253/10.19, allocations: 1.144 MB / 4.101 GB, free: 236.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/10.19, allocations: 0 / 4.101 GB, free: 236.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/10.19, allocations: 267.5 kB / 4.101 GB, free: 236.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/10.19, allocations: 465.7 kB / 4.102 GB, free: 236.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/10.2, allocations: 1.362 MB / 4.103 GB, free: 234.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/10.2, allocations: 1.206 MB / 4.104 GB, free: 233.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001926/10.2, allocations: 0.7256 MB / 4.105 GB, free: 232.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/10.2, allocations: 39.44 kB / 4.105 GB, free: 232.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/10.2, allocations: 0 / 4.105 GB, free: 232.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04707/10.25, allocations: 33.84 MB / 4.138 GB, free: 199 MB / 1.151 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