Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.1..m_flow|res.1..m_flow_turbulent",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001122/0.001122, allocations: 176.1 kB / 492.3 MB, free: 0.6172 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.573/1.573, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009257/0.0009255, allocations: 89.66 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.838e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3142, allocations: 142.4 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6/6.314, allocations: 1.868 GB / 3.08 GB, free: 362 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/6.314, allocations: 83.11 kB / 3.08 GB, free: 362 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.388/9.702, allocations: 0.9661 GB / 4.046 GB, free: 337.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.393e-06/9.702, allocations: 0 / 4.046 GB, free: 337.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.64e-05/9.702, allocations: 31.3 kB / 4.046 GB, free: 337.4 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001683/9.704, allocations: 1.093 MB / 4.048 GB, free: 336.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/9.704, allocations: 8.031 kB / 4.048 GB, free: 336.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/9.704, allocations: 182.1 kB / 4.048 GB, free: 336.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/9.706, allocations: 1.067 MB / 4.049 GB, free: 335.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/9.706, allocations: 41 kB / 4.049 GB, free: 335.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/9.706, allocations: 56 kB / 4.049 GB, free: 335.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008634/9.707, allocations: 0.6273 MB / 4.049 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/9.707, allocations: 4 kB / 4.049 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/9.707, allocations: 20 kB / 4.049 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/9.707, allocations: 22.36 kB / 4.049 GB, free: 334.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/9.708, allocations: 462.8 kB / 4.05 GB, free: 333.9 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.002757/9.711, allocations: 3.24 MB / 4.053 GB, free: 330.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/9.711, allocations: 371.7 kB / 4.053 GB, free: 330 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/9.711, allocations: 219.2 kB / 4.054 GB, free: 329.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002505/9.712, allocations: 190.4 kB / 4.054 GB, free: 329.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/9.712, allocations: 34.8 kB / 4.054 GB, free: 329.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.443e-06/9.712, allocations: 4 kB / 4.054 GB, free: 329.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001153/9.713, allocations: 0.6386 MB / 4.054 GB, free: 328.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/9.713, allocations: 59.67 kB / 4.055 GB, free: 328.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009408/9.714, allocations: 0.9392 MB / 4.055 GB, free: 327.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/9.714, allocations: 33.7 kB / 4.056 GB, free: 327.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/9.714, allocations: 442.5 kB / 4.056 GB, free: 327.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/9.714, allocations: 94.56 kB / 4.056 GB, free: 327.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/9.714, allocations: 8 kB / 4.056 GB, free: 327.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/9.714, allocations: 321.9 kB / 4.056 GB, free: 327 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/9.714, allocations: 111.9 kB / 4.056 GB, free: 326.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/9.715, allocations: 323 kB / 4.057 GB, free: 326.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/9.715, allocations: 164.2 kB / 4.057 GB, free: 326.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/9.715, allocations: 8 kB / 4.057 GB, free: 326.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007942/9.716, allocations: 0.632 MB / 4.058 GB, free: 325.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/9.716, allocations: 365.6 kB / 4.058 GB, free: 325.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/9.716, allocations: 0 / 4.058 GB, free: 325.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004568/9.716, allocations: 225.7 kB / 4.058 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/9.716, allocations: 23.92 kB / 4.058 GB, free: 325 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007459/9.717, allocations: 0.9866 MB / 4.059 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/9.718, allocations: 95.7 kB / 4.059 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/9.718, allocations: 8 kB / 4.059 GB, free: 323.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/9.718, allocations: 4 kB / 4.059 GB, free: 323.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000789/9.719, allocations: 473 kB / 4.06 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/9.719, allocations: 4 kB / 4.06 GB, free: 323.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/9.719, allocations: 200.7 kB / 4.06 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.598e-05/9.719, allocations: 31.92 kB / 4.06 GB, free: 323.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/9.722, allocations: 3.035 MB / 4.063 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/9.723, allocations: 91.61 kB / 4.063 GB, free: 320 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/9.723, allocations: 8 kB / 4.063 GB, free: 319.9 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001127/9.723, allocations: 122 kB / 4.063 GB, free: 319.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/9.723, allocations: 94.83 kB / 4.063 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/9.724, allocations: 0.688 MB / 4.064 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/9.724, allocations: 0 / 4.064 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/9.724, allocations: 4 kB / 4.064 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/9.724, allocations: 0 / 4.064 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/9.726, allocations: 1.47 MB / 4.065 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/9.726, allocations: 4 kB / 4.065 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/9.727, allocations: 19.98 kB / 4.065 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003845/9.727, allocations: 224.5 kB / 4.065 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/9.727, allocations: 23.88 kB / 4.065 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006478/9.728, allocations: 0.9668 MB / 4.066 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/9.728, allocations: 0 / 4.066 GB, free: 316.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/9.728, allocations: 0.8622 MB / 4.067 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/9.729, allocations: 215.8 kB / 4.067 GB, free: 315.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/9.729, allocations: 11.98 kB / 4.067 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/9.729, allocations: 59.78 kB / 4.068 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/9.729, allocations: 23.92 kB / 4.068 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/9.729, allocations: 11.98 kB / 4.068 GB, free: 315 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007845/9.73, allocations: 0.7519 MB / 4.068 GB, free: 314.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/9.73, allocations: 4 kB / 4.068 GB, free: 314.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001375/9.732, allocations: 479.4 kB / 4.069 GB, free: 313.7 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/9.733, allocations: 0.8985 MB / 4.07 GB, free: 312.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001069/9.734, allocations: 0.7156 MB / 4.07 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/9.734, allocations: 0 / 4.07 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/9.734, allocations: 205.1 kB / 4.071 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/9.736, allocations: 484.8 kB / 4.071 GB, free: 311.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/9.738, allocations: 1.334 MB / 4.072 GB, free: 310.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/9.738, allocations: 1.194 MB / 4.073 GB, free: 308.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001353/9.74, allocations: 0.6041 MB / 4.074 GB, free: 308.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/9.74, allocations: 35.44 kB / 4.074 GB, free: 308.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.41e-07/9.74, allocations: 0 / 4.074 GB, free: 308.3 MB / 1.151 GB Notification: Performance of Templates: time 0.0402/9.78, allocations: 33.63 MB / 4.107 GB, free: 274.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches