Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 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: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.81/2.81, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 12 kB / 0.8707 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8228/0.8232, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1832/1.006, allocations: 135.6 MB / 1.153 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003425/1.01, allocations: 1.627 MB / 1.155 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/1.01, allocations: 11.88 kB / 1.155 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007645/1.011, allocations: 179.1 kB / 1.155 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/1.013, allocations: 0.4908 MB / 1.155 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/1.014, allocations: 427.4 kB / 1.156 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005995/1.014, allocations: 368.1 kB / 1.156 GB, free: 6.074 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/1.015, allocations: 136.6 kB / 1.156 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/1.015, allocations: 219.2 kB / 1.157 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/1.015, allocations: 95.56 kB / 1.157 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/1.015, allocations: 12 kB / 1.157 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007784/1.016, allocations: 391.4 kB / 1.157 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/1.016, allocations: 67.78 kB / 1.157 GB, free: 5.172 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/1.016, allocations: 69.58 kB / 1.157 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003893/1.017, allocations: 283.3 kB / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/1.017, allocations: 0 / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.623e-06/1.017, allocations: 0 / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.11e-06/1.017, allocations: 0 / 1.157 GB, free: 4.82 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008374/1.018, allocations: 0.5295 MB / 1.158 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.018, allocations: 11.98 kB / 1.158 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/1.018, allocations: 55.59 kB / 1.158 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/1.019, allocations: 285.4 kB / 1.158 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/1.019, allocations: 8 kB / 1.158 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/1.019, allocations: 19.98 kB / 1.158 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003967/1.019, allocations: 192.1 kB / 1.159 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.019, allocations: 7.953 kB / 1.159 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/1.019, allocations: 4 kB / 1.159 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.019, allocations: 4 kB / 1.159 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/1.019, allocations: 139.8 kB / 1.159 GB, free: 3.473 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.001094/1.02, allocations: 0.7848 MB / 1.159 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/1.021, allocations: 94.59 kB / 1.16 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/1.021, allocations: 8 kB / 1.16 GB, free: 2.508 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/1.021, allocations: 38.52 kB / 1.16 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.021, allocations: 0 / 1.16 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007207/1.022, allocations: 237.6 kB / 1.16 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.022, allocations: 55.41 kB / 1.16 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/1.022, allocations: 263 kB / 1.16 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/1.022, allocations: 33.7 kB / 1.16 GB, free: 1.852 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.022, allocations: 140 kB / 1.16 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/1.022, allocations: 39.39 kB / 1.16 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-06/1.022, allocations: 4 kB / 1.16 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003054/1.023, allocations: 330.8 kB / 1.161 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/1.023, allocations: 47.95 kB / 1.161 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/1.023, allocations: 97.11 kB / 1.161 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/1.023, allocations: 59.97 kB / 1.161 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.023, allocations: 0 / 1.161 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000382/1.024, allocations: 173.2 kB / 1.161 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001934/1.024, allocations: 360 kB / 1.161 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/1.024, allocations: 0 / 1.161 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.024, allocations: 0 / 1.161 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/1.024, allocations: 27.97 kB / 1.161 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.024, allocations: 4 kB / 1.161 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/1.024, allocations: 27.94 kB / 1.161 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/1.024, allocations: 4 kB / 1.161 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/1.024, allocations: 4 kB / 1.161 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002754/1.024, allocations: 115.8 kB / 1.162 GB, free: 392 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.024, allocations: 8.016 kB / 1.162 GB, free: 384 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/1.024, allocations: 7.938 kB / 1.162 GB, free: 376 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.025, allocations: 19.98 kB / 1.162 GB, free: 356 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/1.025, allocations: 4.062 kB / 1.162 GB, free: 352 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/1.025, allocations: 35.77 kB / 1.162 GB, free: 316 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/1.025, allocations: 4 kB / 1.162 GB, free: 312 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001664/1.025, allocations: 222.9 kB / 1.162 GB, free: 80 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/1.025, allocations: 27.67 kB / 1.162 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/1.025, allocations: 167.6 kB / 1.162 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.025, allocations: 0 / 1.162 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.025, allocations: 8 kB / 1.162 GB, free: 15.88 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.025, allocations: 4.078 kB / 1.162 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/1.027, allocations: 0.6015 MB / 1.163 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.027, allocations: 0 / 1.163 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/1.027, allocations: 27.92 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/1.027, allocations: 4 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/1.027, allocations: 4.219 kB / 1.163 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.027, allocations: 4 kB / 1.163 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.027, allocations: 4 kB / 1.163 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/1.027, allocations: 393.4 kB / 1.163 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/1.027, allocations: 108.8 kB / 1.163 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/1.027, allocations: 11.98 kB / 1.163 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.028, allocations: 23.88 kB / 1.163 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/1.028, allocations: 19.88 kB / 1.163 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/1.028, allocations: 8 kB / 1.163 GB, free: 14.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001838/1.028, allocations: 194 kB / 1.163 GB, free: 14.31 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.028, allocations: 0 / 1.163 GB, free: 14.31 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000458/1.028, allocations: 95.83 kB / 1.163 GB, free: 14.21 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004506/1.029, allocations: 155.3 kB / 1.164 GB, free: 14.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004764/1.029, allocations: 179.7 kB / 1.164 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/1.029, allocations: 0 / 1.164 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.029, allocations: 72.02 kB / 1.164 GB, free: 13.81 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/1.03, allocations: 125.8 kB / 1.164 GB, free: 13.69 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/1.031, allocations: 0.4997 MB / 1.164 GB, free: 13.14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008146/1.032, allocations: 0.7677 MB / 1.165 GB, free: 12.35 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000279/1.032, allocations: 66.23 kB / 1.165 GB, free: 12.29 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/1.033, allocations: 19.44 kB / 1.165 GB, free: 12.27 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/1.033, allocations: 0 / 1.165 GB, free: 12.27 MB / 0.92 GB Notification: Performance of Templates: time 0.01114/1.044, allocations: 4.124 MB / 1.169 GB, free: 8.207 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches