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.521/2.521, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001124/0.001125, allocations: 178 kB / 498.1 MB, free: 5.688 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.598/1.598, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009871/0.0009874, allocations: 94.36 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003766, allocations: 10.34 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3059, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.351/4.657, allocations: 1.868 GB / 3.091 GB, free: 118.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/4.658, allocations: 87.5 kB / 3.091 GB, free: 118.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.166/5.824, allocations: 222.4 MB / 3.308 GB, free: 375.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.146e-06/5.824, allocations: 0 / 3.308 GB, free: 375.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.809e-05/5.825, allocations: 11.98 kB / 3.308 GB, free: 375.5 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001457/5.826, allocations: 0.6034 MB / 3.309 GB, free: 374.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/5.826, allocations: 8.031 kB / 3.309 GB, free: 374.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/5.826, allocations: 48.89 kB / 3.309 GB, free: 374.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/5.827, allocations: 311.3 kB / 3.309 GB, free: 374.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/5.827, allocations: 12 kB / 3.309 GB, free: 374.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/5.827, allocations: 16 kB / 3.309 GB, free: 374.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/5.828, allocations: 196.5 kB / 3.309 GB, free: 374.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/5.828, allocations: 4 kB / 3.309 GB, free: 374.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/5.828, allocations: 8 kB / 3.309 GB, free: 374.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/5.828, allocations: 4 kB / 3.309 GB, free: 374.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002852/5.828, allocations: 127.8 kB / 3.309 GB, free: 374.1 MB / 1.167 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/5.829, allocations: 0.785 MB / 3.31 GB, free: 373.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/5.829, allocations: 86.53 kB / 3.31 GB, free: 373.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/5.83, allocations: 190.2 kB / 3.31 GB, free: 372.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/5.83, allocations: 38.52 kB / 3.31 GB, free: 372.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/5.83, allocations: 0 / 3.31 GB, free: 372.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.000691/5.83, allocations: 225.4 kB / 3.311 GB, free: 372.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/5.83, allocations: 51.41 kB / 3.311 GB, free: 372.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/5.831, allocations: 234.2 kB / 3.311 GB, free: 372.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/5.831, allocations: 25.7 kB / 3.311 GB, free: 372.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/5.831, allocations: 148 kB / 3.311 GB, free: 372.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/5.831, allocations: 35.45 kB / 3.311 GB, free: 372.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/5.831, allocations: 8 kB / 3.311 GB, free: 372.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001063/5.831, allocations: 339.1 kB / 3.311 GB, free: 371.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/5.831, allocations: 39.97 kB / 3.311 GB, free: 371.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/5.831, allocations: 110.7 kB / 3.312 GB, free: 371.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/5.831, allocations: 55.95 kB / 3.312 GB, free: 371.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/5.831, allocations: 0 / 3.312 GB, free: 371.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/5.832, allocations: 165.2 kB / 3.312 GB, free: 371.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/5.832, allocations: 360.6 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/5.832, allocations: 7.984 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/5.832, allocations: 144 / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/5.832, allocations: 23.98 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/5.832, allocations: 0 / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/5.832, allocations: 39.86 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/5.832, allocations: 4 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/5.832, allocations: 4 kB / 3.312 GB, free: 371 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002483/5.833, allocations: 123.8 kB / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/5.833, allocations: 0 / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/5.833, allocations: 0 / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/5.833, allocations: 23.98 kB / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/5.833, allocations: 0 / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/5.833, allocations: 23.89 kB / 3.312 GB, free: 370.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/5.833, allocations: 8 kB / 3.312 GB, free: 370.8 MB / 1.167 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.0001495/5.833, allocations: 225 kB / 3.313 GB, free: 370.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/5.833, allocations: 27.67 kB / 3.313 GB, free: 370.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/5.833, allocations: 159.3 kB / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/5.833, allocations: 4 kB / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/5.834, allocations: 0 / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/5.834, allocations: 7.984 kB / 3.313 GB, free: 370.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/5.834, allocations: 0.5936 MB / 3.313 GB, free: 369.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/5.834, allocations: 4 kB / 3.313 GB, free: 369.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/5.834, allocations: 27.98 kB / 3.313 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/5.834, allocations: 4.219 kB / 3.313 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/5.834, allocations: 8 kB / 3.313 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/5.834, allocations: 3.938 kB / 3.313 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/5.834, allocations: 4 kB / 3.313 GB, free: 369.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/5.835, allocations: 389.3 kB / 3.314 GB, free: 369.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/5.835, allocations: 112.8 kB / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/5.835, allocations: 0 / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/5.835, allocations: 23.89 kB / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/5.835, allocations: 23.88 kB / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/5.835, allocations: 4 kB / 3.314 GB, free: 369 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001536/5.835, allocations: 193.9 kB / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/5.835, allocations: 0 / 3.314 GB, free: 368.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008011/5.836, allocations: 175.9 kB / 3.314 GB, free: 368.6 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: 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.001472/5.838, allocations: 0.8996 MB / 3.315 GB, free: 367.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004555/5.838, allocations: 171.8 kB / 3.315 GB, free: 367.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/5.838, allocations: 0 / 3.315 GB, free: 367.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/5.838, allocations: 72.33 kB / 3.315 GB, free: 367.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007036/5.839, allocations: 120.8 kB / 3.316 GB, free: 367.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/5.84, allocations: 0.5088 MB / 3.316 GB, free: 366.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/5.84, allocations: 0.7599 MB / 3.317 GB, free: 366 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002474/5.84, allocations: 74.16 kB / 3.317 GB, free: 366 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/5.84, allocations: 19.44 kB / 3.317 GB, free: 365.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.9e-07/5.84, allocations: 0 / 3.317 GB, free: 365.9 MB / 1.167 GB Notification: Performance of Templates: time 0.02013/5.861, allocations: 14.88 MB / 3.331 GB, free: 351.1 MB / 1.167 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