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.585/2.585, allocations: 390.5 MB / 398 MB, free: 10.93 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.001553/0.001553, allocations: 180.8 kB / 491.2 MB, free: 1.531 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.768/1.768, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009384/0.0009384, allocations: 87.91 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.945e-05, allocations: 6.938 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.332/6.677, allocations: 1.869 GB / 3.082 GB, free: 357.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/6.677, allocations: 90.98 kB / 3.082 GB, free: 357.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.9/13.58, allocations: 1.782 GB / 4.864 GB, free: 346.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.066e-06/13.58, allocations: 0 / 4.864 GB, free: 346.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001103/13.58, allocations: 33.48 kB / 4.864 GB, free: 346.8 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.001971/13.58, allocations: 1.143 MB / 4.865 GB, free: 346.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/13.58, allocations: 11.12 kB / 4.865 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008097/13.58, allocations: 185.5 kB / 4.865 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/13.58, allocations: 1.068 MB / 4.866 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/13.58, allocations: 19.5 kB / 4.866 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/13.58, allocations: 46.66 kB / 4.866 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006939/13.58, allocations: 466.4 kB / 4.867 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/13.58, allocations: 0.6743 MB / 4.867 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/13.58, allocations: 7.281 kB / 4.867 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/13.58, allocations: 7.047 kB / 4.867 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/13.58, allocations: 13.94 kB / 4.867 GB, free: 345.6 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.003349/13.59, allocations: 4.46 MB / 4.872 GB, free: 342.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/13.59, allocations: 448.1 kB / 4.872 GB, free: 342.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/13.59, allocations: 234.8 kB / 4.872 GB, free: 342.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/13.59, allocations: 199.9 kB / 4.873 GB, free: 342 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/13.59, allocations: 259.3 kB / 4.873 GB, free: 341.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/13.59, allocations: 0 / 4.873 GB, free: 341.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0008985/13.59, allocations: 496.4 kB / 4.873 GB, free: 341.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/13.59, allocations: 87.77 kB / 4.873 GB, free: 341.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008475/13.59, allocations: 0.8517 MB / 4.874 GB, free: 341.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/13.59, allocations: 25.7 kB / 4.874 GB, free: 341.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/13.59, allocations: 491.1 kB / 4.875 GB, free: 340.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/13.59, allocations: 103.9 kB / 4.875 GB, free: 340.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/13.59, allocations: 0 / 4.875 GB, free: 340.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/13.59, allocations: 324.5 kB / 4.875 GB, free: 340.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/13.59, allocations: 184.3 kB / 4.875 GB, free: 340.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/13.59, allocations: 0.492 MB / 4.876 GB, free: 340 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/13.59, allocations: 267.2 kB / 4.876 GB, free: 339.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/13.59, allocations: 0 / 4.876 GB, free: 339.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007314/13.59, allocations: 0.6161 MB / 4.877 GB, free: 339.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004123/13.59, allocations: 2.125 MB / 4.879 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/13.59, allocations: 7.344 kB / 4.879 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/13.59, allocations: 7.812 kB / 4.879 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004159/13.59, allocations: 119 kB / 4.879 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/13.59, allocations: 11.75 kB / 4.879 GB, free: 337.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007916/13.59, allocations: 85.56 kB / 4.879 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/13.59, allocations: 26.72 kB / 4.879 GB, free: 337.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/13.59, allocations: 8.5 kB / 4.879 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005237/13.59, allocations: 420.8 kB / 4.879 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/13.59, allocations: 3.906 kB / 4.879 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/13.59, allocations: 14.78 kB / 4.879 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/13.6, allocations: 103.9 kB / 4.88 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/13.6, allocations: 15.5 kB / 4.88 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/13.6, allocations: 78.11 kB / 4.88 GB, free: 337.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/13.6, allocations: 22.36 kB / 4.88 GB, free: 337.3 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): 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.0001234/13.6, allocations: 127.1 kB / 4.88 GB, free: 337.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.405e-05/13.6, allocations: 89.06 kB / 4.88 GB, free: 337.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/13.6, allocations: 445.8 kB / 4.88 GB, free: 337 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/13.6, allocations: 7.766 kB / 4.88 GB, free: 337 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/13.6, allocations: 0 / 4.88 GB, free: 337 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/13.6, allocations: 0 / 4.88 GB, free: 337 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/13.6, allocations: 1.267 MB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/13.6, allocations: 3.938 kB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/13.6, allocations: 68.67 kB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/13.6, allocations: 3.75 kB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/13.6, allocations: 6.203 kB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/13.6, allocations: 3.781 kB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/13.6, allocations: 3.938 kB / 4.882 GB, free: 336.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/13.6, allocations: 0.6317 MB / 4.882 GB, free: 335.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/13.6, allocations: 220 kB / 4.882 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/13.6, allocations: 3.781 kB / 4.882 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/13.6, allocations: 51.44 kB / 4.883 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/13.6, allocations: 35.91 kB / 4.883 GB, free: 335.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/13.6, allocations: 11.25 kB / 4.883 GB, free: 335.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008407/13.6, allocations: 0.6667 MB / 4.883 GB, free: 335.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/13.6, allocations: 0 / 4.883 GB, free: 335.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001612/13.6, allocations: 445.1 kB / 4.884 GB, free: 335.4 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): 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.00177/13.6, allocations: 1.032 MB / 4.885 GB, free: 335.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001093/13.61, allocations: 0.7578 MB / 4.885 GB, free: 334.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/13.61, allocations: 0 / 4.885 GB, free: 334.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/13.61, allocations: 181.8 kB / 4.886 GB, free: 334.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/13.61, allocations: 383.5 kB / 4.886 GB, free: 334.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/13.61, allocations: 1.332 MB / 4.887 GB, free: 334.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/13.61, allocations: 1.195 MB / 4.888 GB, free: 333.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001772/13.61, allocations: 0.7523 MB / 4.889 GB, free: 333.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/13.61, allocations: 57.69 kB / 4.889 GB, free: 333.4 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/13.61, allocations: 0 / 4.889 GB, free: 333.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02914/13.64, allocations: 19.87 MB / 4.909 GB, free: 329.2 MB / 1.151 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