Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001476/0.001476, allocations: 172.9 kB / 492.3 MB, free: 0.5977 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.711/1.711, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009611/0.0009611, allocations: 95.44 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.973e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3687, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.208/6.577, allocations: 1.869 GB / 3.082 GB, free: 359.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/6.577, allocations: 91.12 kB / 3.082 GB, free: 359.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.376/9.952, allocations: 0.9684 GB / 4.05 GB, free: 322.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.734e-06/9.952, allocations: 0 / 4.05 GB, free: 322.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.279e-05/9.953, allocations: 31.98 kB / 4.05 GB, free: 322.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001805/9.954, allocations: 1.135 MB / 4.051 GB, free: 321.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/9.954, allocations: 11.97 kB / 4.051 GB, free: 321.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007182/9.955, allocations: 186 kB / 4.051 GB, free: 320.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001891/9.957, allocations: 1.079 MB / 4.052 GB, free: 319.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/9.957, allocations: 41 kB / 4.052 GB, free: 319.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/9.957, allocations: 64 kB / 4.053 GB, free: 319.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/9.958, allocations: 0.7346 MB / 4.053 GB, free: 318.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/9.958, allocations: 7.938 kB / 4.053 GB, free: 318.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/9.958, allocations: 22.92 kB / 4.053 GB, free: 318.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/9.958, allocations: 16 kB / 4.053 GB, free: 318.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/9.959, allocations: 474.6 kB / 4.054 GB, free: 318.4 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.003008/9.962, allocations: 4.598 MB / 4.058 GB, free: 313.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/9.962, allocations: 379 kB / 4.059 GB, free: 313 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/9.962, allocations: 230.1 kB / 4.059 GB, free: 312.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/9.963, allocations: 190.4 kB / 4.059 GB, free: 312.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/9.963, allocations: 274.2 kB / 4.059 GB, free: 312.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.753e-06/9.963, allocations: 7.938 kB / 4.059 GB, free: 312.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0008086/9.964, allocations: 457.1 kB / 4.06 GB, free: 311.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/9.964, allocations: 81.11 kB / 4.06 GB, free: 311.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/9.965, allocations: 0.9724 MB / 4.061 GB, free: 310.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/9.965, allocations: 37.7 kB / 4.061 GB, free: 310.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/9.965, allocations: 492.4 kB / 4.061 GB, free: 310.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.663e-05/9.965, allocations: 110.5 kB / 4.061 GB, free: 310.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/9.965, allocations: 16 kB / 4.061 GB, free: 310.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.896e-05/9.965, allocations: 325.9 kB / 4.062 GB, free: 309.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/9.966, allocations: 164.8 kB / 4.062 GB, free: 309.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/9.966, allocations: 496.7 kB / 4.062 GB, free: 308.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/9.966, allocations: 279.5 kB / 4.063 GB, free: 308.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/9.966, allocations: 0 / 4.063 GB, free: 308.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007412/9.967, allocations: 0.6362 MB / 4.063 GB, free: 308 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004214/9.968, allocations: 2.132 MB / 4.065 GB, free: 305.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/9.968, allocations: 12 kB / 4.065 GB, free: 305.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/9.968, allocations: 11.94 kB / 4.065 GB, free: 305.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/9.969, allocations: 299.5 kB / 4.066 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/9.971, allocations: 6.083 MB / 4.072 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/9.972, allocations: 107.5 kB / 4.072 GB, free: 299 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-05/9.972, allocations: 27.98 kB / 4.072 GB, free: 299 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/9.972, allocations: 4 kB / 4.072 GB, free: 298.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005916/9.973, allocations: 0.493 MB / 4.072 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/9.973, allocations: 4 kB / 4.072 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/9.973, allocations: 8 kB / 4.072 GB, free: 298.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/9.973, allocations: 148.5 kB / 4.072 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/9.974, allocations: 11.94 kB / 4.072 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/9.974, allocations: 95.52 kB / 4.072 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/9.974, allocations: 27.94 kB / 4.072 GB, free: 298.2 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 (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.0001378/9.974, allocations: 141.5 kB / 4.073 GB, free: 298 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/9.974, allocations: 98.78 kB / 4.073 GB, free: 297.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006983/9.975, allocations: 467 kB / 4.073 GB, free: 297.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/9.975, allocations: 7.938 kB / 4.073 GB, free: 297.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/9.975, allocations: 4 kB / 4.073 GB, free: 297.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/9.975, allocations: 0 / 4.073 GB, free: 297.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/9.977, allocations: 1.346 MB / 4.074 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/9.977, allocations: 4 kB / 4.074 GB, free: 296 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006073/9.977, allocations: 159.7 kB / 4.075 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/9.977, allocations: 7.953 kB / 4.075 GB, free: 295.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/9.978, allocations: 12.22 kB / 4.075 GB, free: 295.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/9.979, allocations: 6.017 MB / 4.08 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/9.979, allocations: 0 / 4.08 GB, free: 289.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005857/9.98, allocations: 0.6578 MB / 4.081 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/9.98, allocations: 219.8 kB / 4.081 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/9.98, allocations: 11.98 kB / 4.081 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/9.981, allocations: 51.86 kB / 4.081 GB, free: 288.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/9.981, allocations: 43.84 kB / 4.081 GB, free: 288.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/9.981, allocations: 8 kB / 4.081 GB, free: 288.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008856/9.982, allocations: 0.7688 MB / 4.082 GB, free: 287.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/9.982, allocations: 4 kB / 4.082 GB, free: 287.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001504/9.983, allocations: 479.6 kB / 4.083 GB, free: 287.3 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 (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.001313/9.985, allocations: 0.9112 MB / 4.084 GB, free: 286.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00216/9.987, allocations: 0.9374 MB / 4.084 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/9.987, allocations: 320 / 4.084 GB, free: 285.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/9.987, allocations: 260.3 kB / 4.085 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/9.989, allocations: 466.5 kB / 4.085 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/9.991, allocations: 1.373 MB / 4.087 GB, free: 283.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/9.992, allocations: 1.21 MB / 4.088 GB, free: 282 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001757/9.993, allocations: 0.7802 MB / 4.088 GB, free: 281.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.681e-05/9.994, allocations: 47.44 kB / 4.088 GB, free: 281.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.533e-06/9.994, allocations: 0 / 4.088 GB, free: 281.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03898/10.03, allocations: 31.88 MB / 4.12 GB, free: 249.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches