Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.152/2.152, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009828/0.0009831, allocations: 178.2 kB / 492.3 MB, free: 0.6016 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.517/1.517, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0008929/0.0008928, allocations: 95.45 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.282e-05/6.291e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/6.039, allocations: 1.868 GB / 3.08 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/6.039, allocations: 84.78 kB / 3.08 GB, free: 435.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.4242/6.463, allocations: 222.2 MB / 3.297 GB, free: 237.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/6.463, allocations: 0 / 3.297 GB, free: 237.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.532e-05/6.463, allocations: 8 kB / 3.297 GB, free: 237.3 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009714/6.464, allocations: 0.5608 MB / 3.298 GB, free: 236.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/6.464, allocations: 8.031 kB / 3.298 GB, free: 236.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003441/6.465, allocations: 55.55 kB / 3.298 GB, free: 236.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/6.465, allocations: 309.5 kB / 3.298 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/6.465, allocations: 12 kB / 3.298 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/6.465, allocations: 19.98 kB / 3.298 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/6.465, allocations: 178.1 kB / 3.298 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/6.466, allocations: 4 kB / 3.298 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/6.466, allocations: 4 kB / 3.298 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/6.466, allocations: 4 kB / 3.298 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/6.466, allocations: 95.86 kB / 3.299 GB, free: 236 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.0009674/6.467, allocations: 0.7927 MB / 3.299 GB, free: 235.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/6.467, allocations: 66.5 kB / 3.299 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/6.467, allocations: 56.89 kB / 3.299 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/6.467, allocations: 186.2 kB / 3.3 GB, free: 234.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/6.467, allocations: 38.48 kB / 3.3 GB, free: 234.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/6.467, allocations: 4 kB / 3.3 GB, free: 234.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003964/6.468, allocations: 133.6 kB / 3.3 GB, free: 234.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/6.468, allocations: 59.36 kB / 3.3 GB, free: 234.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/6.468, allocations: 235.5 kB / 3.3 GB, free: 234.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/6.468, allocations: 25.7 kB / 3.3 GB, free: 234.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/6.468, allocations: 151.9 kB / 3.3 GB, free: 234.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/6.468, allocations: 35.55 kB / 3.3 GB, free: 234 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/6.468, allocations: 4 kB / 3.3 GB, free: 234 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/6.468, allocations: 330.8 kB / 3.301 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/6.468, allocations: 24 kB / 3.301 GB, free: 233.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/6.468, allocations: 94.81 kB / 3.301 GB, free: 233.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/6.468, allocations: 39.97 kB / 3.301 GB, free: 233.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/6.468, allocations: 0 / 3.301 GB, free: 233.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001749/6.469, allocations: 133.3 kB / 3.301 GB, free: 233.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-05/6.469, allocations: 363.9 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/6.469, allocations: 0 / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/6.469, allocations: 0 / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/6.469, allocations: 27.98 kB / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/6.469, allocations: 0 / 3.301 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/6.469, allocations: 35.81 kB / 3.301 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/6.469, allocations: 4 kB / 3.301 GB, free: 232.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-06/6.469, allocations: 5.406 kB / 3.301 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001312/6.469, allocations: 83.83 kB / 3.301 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/6.469, allocations: 0 / 3.301 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/6.469, allocations: 3.953 kB / 3.301 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/6.469, allocations: 23.98 kB / 3.301 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/6.469, allocations: 0 / 3.301 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/6.47, allocations: 39.84 kB / 3.301 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/6.47, allocations: 4 kB / 3.301 GB, free: 232.8 MB / 1.151 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 () * 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 7.864e-05/6.47, allocations: 114.5 kB / 3.301 GB, free: 232.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/6.47, allocations: 23.72 kB / 3.302 GB, free: 232.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/6.47, allocations: 127.5 kB / 3.302 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/6.47, allocations: 3.953 kB / 3.302 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/6.47, allocations: 7.984 kB / 3.302 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/6.47, allocations: 7.875 kB / 3.302 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/6.471, allocations: 0.5548 MB / 3.302 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/6.471, allocations: 4 kB / 3.302 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/6.471, allocations: 28.31 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/6.471, allocations: 3.984 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/6.471, allocations: 4 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/6.471, allocations: 7.938 kB / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/6.471, allocations: 0 / 3.302 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/6.471, allocations: 361.4 kB / 3.303 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/6.471, allocations: 108.8 kB / 3.303 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/6.471, allocations: 7.984 kB / 3.303 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/6.472, allocations: 23.98 kB / 3.303 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/6.472, allocations: 19.88 kB / 3.303 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/6.472, allocations: 4 kB / 3.303 GB, free: 231.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001609/6.472, allocations: 191.1 kB / 3.303 GB, free: 231 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.472, allocations: 0 / 3.303 GB, free: 231 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008828/6.473, allocations: 171.8 kB / 3.303 GB, free: 230.8 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: 0 () * Number of discrete 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.001408/6.474, allocations: 0.8964 MB / 3.304 GB, free: 230 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002632/6.474, allocations: 134.3 kB / 3.304 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/6.474, allocations: 0 / 3.304 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/6.474, allocations: 51.95 kB / 3.304 GB, free: 229.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/6.475, allocations: 128.6 kB / 3.304 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/6.476, allocations: 305.3 kB / 3.305 GB, free: 229.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/6.476, allocations: 0.7687 MB / 3.305 GB, free: 228.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000283/6.476, allocations: 85.98 kB / 3.305 GB, free: 228.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/6.476, allocations: 15.44 kB / 3.305 GB, free: 228.4 MB / 1.151 GB Notification: Performance of SimCode: time 3.61e-07/6.476, allocations: 0 / 3.305 GB, free: 228.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02154/6.498, allocations: 17.78 MB / 3.323 GB, free: 210.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches