Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.383/2.383, allocations: 390.5 MB / 398 MB, free: 10.9 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.001361/0.001361, allocations: 175.8 kB / 491.2 MB, free: 1.547 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.651/1.651, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0008353/0.0008351, allocations: 102.1 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.554e-05/1.557e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3373, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.353/6.691, allocations: 1.872 GB / 3.084 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/6.691, allocations: 95.5 kB / 3.084 GB, free: 357.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.023/13.71, allocations: 1.794 GB / 4.878 GB, free: 339.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.753e-06/13.71, allocations: 0 / 4.878 GB, free: 339.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001621/13.71, allocations: 30.94 kB / 4.878 GB, free: 339.7 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.002723/13.72, allocations: 1.147 MB / 4.88 GB, free: 339.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/13.72, allocations: 14.47 kB / 4.88 GB, free: 339 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/13.72, allocations: 189.2 kB / 4.88 GB, free: 339 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/13.72, allocations: 1.098 MB / 4.881 GB, free: 338.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/13.72, allocations: 17.12 kB / 4.881 GB, free: 338.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/13.72, allocations: 40.5 kB / 4.881 GB, free: 338.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000784/13.72, allocations: 465.6 kB / 4.881 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009235/13.72, allocations: 0.6709 MB / 4.882 GB, free: 338 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/13.72, allocations: 6.953 kB / 4.882 GB, free: 338 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/13.72, allocations: 3.938 kB / 4.882 GB, free: 338 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/13.72, allocations: 11.78 kB / 4.882 GB, free: 338 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.004903/13.73, allocations: 4.464 MB / 4.886 GB, free: 334.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/13.73, allocations: 451.8 kB / 4.887 GB, free: 334.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/13.73, allocations: 230.9 kB / 4.887 GB, free: 334.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/13.73, allocations: 194.8 kB / 4.887 GB, free: 333.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003956/13.73, allocations: 258.1 kB / 4.887 GB, free: 333.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 3.226e-06/13.73, allocations: 224 / 4.887 GB, free: 333.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.002067/13.73, allocations: 0.7585 MB / 4.888 GB, free: 333.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/13.73, allocations: 84.89 kB / 4.888 GB, free: 333.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/13.73, allocations: 0.8574 MB / 4.889 GB, free: 333.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.712e-05/13.73, allocations: 31.86 kB / 4.889 GB, free: 333 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/13.73, allocations: 486 kB / 4.89 GB, free: 332.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/13.73, allocations: 108.7 kB / 4.89 GB, free: 332.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/13.73, allocations: 0 / 4.89 GB, free: 332.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/13.73, allocations: 325.5 kB / 4.89 GB, free: 332.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/13.73, allocations: 181.8 kB / 4.89 GB, free: 332.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/13.74, allocations: 496.2 kB / 4.891 GB, free: 331.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/13.74, allocations: 265.6 kB / 4.891 GB, free: 331.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/13.74, allocations: 0 / 4.891 GB, free: 331.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001651/13.74, allocations: 0.8952 MB / 4.892 GB, free: 331.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006174/13.74, allocations: 2.122 MB / 4.894 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/13.74, allocations: 7.672 kB / 4.894 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004354/13.74, allocations: 224.8 kB / 4.894 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/13.74, allocations: 64.28 kB / 4.894 GB, free: 329.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009279/13.74, allocations: 1.104 MB / 4.895 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/13.74, allocations: 90.03 kB / 4.895 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/13.74, allocations: 24.94 kB / 4.895 GB, free: 328.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/13.74, allocations: 3.656 kB / 4.895 GB, free: 328.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001004/13.74, allocations: 0.5897 MB / 4.896 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/13.74, allocations: 3.906 kB / 4.896 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/13.74, allocations: 198.5 kB / 4.896 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/13.74, allocations: 68.88 kB / 4.896 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/13.75, allocations: 2.968 MB / 4.899 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/13.75, allocations: 73.92 kB / 4.899 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.697e-05/13.75, allocations: 27.17 kB / 4.899 GB, free: 326.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 (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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/13.75, allocations: 125.3 kB / 4.899 GB, free: 326.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/13.75, allocations: 102.6 kB / 4.899 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/13.75, allocations: 0.6489 MB / 4.9 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/13.75, allocations: 3.438 kB / 4.9 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/13.75, allocations: 0 / 4.9 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/13.75, allocations: 3.953 kB / 4.9 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/13.75, allocations: 1.465 MB / 4.901 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/13.75, allocations: 3.375 kB / 4.902 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/13.75, allocations: 26.59 kB / 4.902 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/13.75, allocations: 180.4 kB / 4.902 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/13.75, allocations: 3.969 kB / 4.902 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007048/13.75, allocations: 0.9899 MB / 4.903 GB, free: 324.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/13.75, allocations: 7.844 kB / 4.903 GB, free: 324.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008901/13.75, allocations: 0.8498 MB / 4.904 GB, free: 323.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/13.75, allocations: 225.6 kB / 4.904 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/13.75, allocations: 3.875 kB / 4.904 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/13.75, allocations: 49.95 kB / 4.904 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.582e-05/13.75, allocations: 33.95 kB / 4.904 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/13.75, allocations: 17.17 kB / 4.904 GB, free: 323.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008147/13.75, allocations: 0.6643 MB / 4.904 GB, free: 323.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/13.75, allocations: 0 / 4.904 GB, free: 323.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00166/13.76, allocations: 486 kB / 4.905 GB, free: 323.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 (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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/13.76, allocations: 1.092 MB / 4.906 GB, free: 323 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001531/13.76, allocations: 0.9895 MB / 4.907 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/13.76, allocations: 0 / 4.907 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/13.76, allocations: 206.7 kB / 4.907 GB, free: 322.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/13.76, allocations: 403 kB / 4.908 GB, free: 322.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/13.76, allocations: 1.323 MB / 4.909 GB, free: 321.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/13.76, allocations: 1.213 MB / 4.91 GB, free: 321.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001785/13.77, allocations: 0.6387 MB / 4.911 GB, free: 321 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/13.77, allocations: 41.91 kB / 4.911 GB, free: 321 MB / 1.151 GB Notification: Performance of SimCode: time 1.322e-06/13.77, allocations: 0 / 4.911 GB, free: 321 MB / 1.151 GB Notification: Performance of Templates: time 0.03472/13.8, allocations: 22.4 MB / 4.933 GB, free: 306.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches