Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.266/2.266, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001129/0.00113, allocations: 176.8 kB / 496.1 MB, free: 12.84 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.634/1.634, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.0009301/0.0009302, allocations: 102.2 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.158e-05/5.161e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.352, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.565/6.917, allocations: 1.87 GB / 3.089 GB, free: 365.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/6.917, allocations: 89.98 kB / 3.089 GB, free: 365.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 6.868/13.79, allocations: 1.801 GB / 4.889 GB, free: 354.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/13.79, allocations: 0 / 4.889 GB, free: 354.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000105/13.79, allocations: 30.53 kB / 4.889 GB, free: 354.9 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.001773/13.79, allocations: 1.141 MB / 4.891 GB, free: 354.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/13.79, allocations: 8.469 kB / 4.891 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/13.79, allocations: 189 kB / 4.891 GB, free: 354.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/13.79, allocations: 1.076 MB / 4.892 GB, free: 354 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/13.79, allocations: 46.41 kB / 4.892 GB, free: 354 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/13.79, allocations: 57.72 kB / 4.892 GB, free: 354 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/13.79, allocations: 0.7448 MB / 4.893 GB, free: 353.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/13.79, allocations: 3.375 kB / 4.893 GB, free: 353.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/13.79, allocations: 27.42 kB / 4.893 GB, free: 353.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/13.79, allocations: 12.31 kB / 4.893 GB, free: 353.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006085/13.79, allocations: 477.5 kB / 4.893 GB, free: 353.7 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.003411/13.8, allocations: 4.585 MB / 4.898 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/13.8, allocations: 403.5 kB / 4.898 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/13.8, allocations: 224.6 kB / 4.898 GB, free: 350.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/13.8, allocations: 194.5 kB / 4.898 GB, free: 350.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/13.8, allocations: 274 kB / 4.899 GB, free: 350 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/13.8, allocations: 0 / 4.899 GB, free: 350 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.0008438/13.8, allocations: 459.2 kB / 4.899 GB, free: 350 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/13.8, allocations: 82.83 kB / 4.899 GB, free: 349.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/13.8, allocations: 0.9754 MB / 4.9 GB, free: 349.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/13.8, allocations: 36.08 kB / 4.9 GB, free: 349.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/13.8, allocations: 494 kB / 4.901 GB, free: 349.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/13.8, allocations: 109.9 kB / 4.901 GB, free: 349.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/13.8, allocations: 11.09 kB / 4.901 GB, free: 349.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/13.8, allocations: 323.2 kB / 4.901 GB, free: 349.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/13.8, allocations: 161.7 kB / 4.901 GB, free: 349.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/13.8, allocations: 494.1 kB / 4.902 GB, free: 348.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/13.8, allocations: 278.7 kB / 4.902 GB, free: 348.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/13.8, allocations: 3.953 kB / 4.902 GB, free: 348.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008004/13.8, allocations: 0.6372 MB / 4.903 GB, free: 348.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004797/13.8, allocations: 2.136 MB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/13.8, allocations: 5.938 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/13.8, allocations: 9.812 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/13.8, allocations: 109.1 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/13.8, allocations: 13.34 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/13.8, allocations: 106.9 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/13.8, allocations: 24.94 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/13.8, allocations: 2.281 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006632/13.8, allocations: 0.4949 MB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/13.8, allocations: 16.52 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/13.8, allocations: 9.469 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/13.8, allocations: 100.6 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/13.8, allocations: 18.22 kB / 4.905 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/13.8, allocations: 100.6 kB / 4.906 GB, free: 346.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/13.8, allocations: 20.53 kB / 4.906 GB, free: 346.4 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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/13.8, allocations: 151.1 kB / 4.906 GB, free: 346.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/13.8, allocations: 100.8 kB / 4.906 GB, free: 346.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006533/13.81, allocations: 467.8 kB / 4.906 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/13.81, allocations: 2.375 kB / 4.906 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/13.81, allocations: 0 / 4.906 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/13.81, allocations: 5.562 kB / 4.906 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/13.81, allocations: 1.353 MB / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/13.81, allocations: 0 / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/13.81, allocations: 69.98 kB / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/13.81, allocations: 10.75 kB / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/13.81, allocations: 7.781 kB / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/13.81, allocations: 11.14 kB / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/13.81, allocations: 0 / 4.908 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/13.81, allocations: 0.6577 MB / 4.908 GB, free: 345.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/13.81, allocations: 218.9 kB / 4.909 GB, free: 345.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/13.81, allocations: 14.22 kB / 4.909 GB, free: 345.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/13.81, allocations: 53.3 kB / 4.909 GB, free: 345.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.958e-05/13.81, allocations: 33.83 kB / 4.909 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.03e-05/13.81, allocations: 9.906 kB / 4.909 GB, free: 345.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000768/13.81, allocations: 0.7764 MB / 4.909 GB, free: 345 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.3e-07/13.81, allocations: 0 / 4.909 GB, free: 345 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001279/13.81, allocations: 473.3 kB / 4.91 GB, free: 345 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001213/13.81, allocations: 0.892 MB / 4.911 GB, free: 344.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0009171/13.81, allocations: 0.7661 MB / 4.912 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/13.81, allocations: 6.719 kB / 4.912 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002344/13.81, allocations: 194.2 kB / 4.912 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/13.82, allocations: 450.5 kB / 4.912 GB, free: 344.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/13.82, allocations: 1.356 MB / 4.913 GB, free: 344.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/13.82, allocations: 1.208 MB / 4.915 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001815/13.82, allocations: 0.8388 MB / 4.915 GB, free: 343.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/13.82, allocations: 52.25 kB / 4.916 GB, free: 343.5 MB / 1.167 GB Notification: Performance of SimCode: time 5.61e-07/13.82, allocations: 6.188 kB / 4.916 GB, free: 343.5 MB / 1.167 GB Notification: Performance of Templates: time 0.04323/13.86, allocations: 31.12 MB / 4.946 GB, free: 335 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.csv","../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches