Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow|res.m_flow_turbulent|resLarPip.m_flow_nominal|resLarPip.m_flow|resLarPip.m_flow_turbulent|res.v|resLarPip.v|res.dh|resLarPip.dh",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001474/0.001474, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.1 MB / 0.711 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 73.06 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3552, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01895/0.3742, allocations: 15.05 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006688/0.3809, allocations: 3.899 MB / 1.036 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007438/0.3817, allocations: 15.94 kB / 1.036 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.3826, allocations: 190.7 kB / 1.037 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.3849, allocations: 0.6764 MB / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.3865, allocations: 468.2 kB / 1.038 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3884, allocations: 1.081 MB / 1.039 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005544/0.389, allocations: 281.5 kB / 1.039 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008875/0.3899, allocations: 410.5 kB / 1.04 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.3903, allocations: 262.8 kB / 1.04 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.3904, allocations: 20 kB / 1.04 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.3921, allocations: 0.7173 MB / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.3922, allocations: 75.69 kB / 1.041 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.3924, allocations: 183 kB / 1.041 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.3938, allocations: 0.7128 MB / 1.041 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.3938, allocations: 4 kB / 1.041 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3938, allocations: 0 / 1.041 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.3938, allocations: 0 / 1.041 GB, free: 2.488 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00135/0.3952, allocations: 0.7435 MB / 1.042 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3952, allocations: 12.92 kB / 1.042 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3953, allocations: 40.47 kB / 1.042 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.3964, allocations: 0.5017 MB / 1.043 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.3964, allocations: 16.33 kB / 1.043 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3964, allocations: 16 kB / 1.043 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.3969, allocations: 176.2 kB / 1.043 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.3969, allocations: 0 / 1.043 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.3969, allocations: 4 kB / 1.043 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.397, allocations: 4 kB / 1.043 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.3973, allocations: 139.8 kB / 1.043 GB, free: 0.75 MB / 0.8106 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.001374/0.3987, allocations: 0.8722 MB / 1.044 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.399, allocations: 118.6 kB / 1.044 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3992, allocations: 72.81 kB / 1.044 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004142/0.3996, allocations: 340.4 kB / 1.044 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3997, allocations: 34.5 kB / 1.044 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.3997, allocations: 0 / 1.044 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006302/0.4003, allocations: 217.4 kB / 1.045 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4004, allocations: 59.34 kB / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.4008, allocations: 345.7 kB / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.4008, allocations: 29.7 kB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.401, allocations: 200.2 kB / 1.045 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.401, allocations: 35.45 kB / 1.045 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.4011, allocations: 33.72 kB / 1.045 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4013, allocations: 342.8 kB / 1.046 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4014, allocations: 52.77 kB / 1.046 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.4016, allocations: 96.28 kB / 1.046 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4019, allocations: 113.6 kB / 1.046 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.402, allocations: 0 / 1.046 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003974/0.4024, allocations: 185.1 kB / 1.046 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4024, allocations: 11.92 kB / 1.046 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4024, allocations: 0 / 1.046 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4024, allocations: 0 / 1.046 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.4026, allocations: 27.92 kB / 1.046 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4026, allocations: 3.984 kB / 1.046 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4028, allocations: 23.92 kB / 1.046 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4028, allocations: 4 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002334/0.4031, allocations: 160.1 kB / 1.046 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001693/0.4033, allocations: 84.25 kB / 1.046 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002592/0.4035, allocations: 113.6 kB / 1.046 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.4035, allocations: 0 / 1.046 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003705/0.4039, allocations: 177.2 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.4039, allocations: 6.656 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/0.4039, allocations: 128 / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.665e-06/0.4039, allocations: 11.94 kB / 1.047 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4041, allocations: 23.97 kB / 1.047 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4041, allocations: 4 kB / 1.047 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.4043, allocations: 19.89 kB / 1.047 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.4043, allocations: 4 kB / 1.047 GB, free: 12.68 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.4044, allocations: 198.8 kB / 1.047 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.4045, allocations: 35.56 kB / 1.047 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/0.405, allocations: 225 kB / 1.047 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4051, allocations: 7.984 kB / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.4051, allocations: 3.984 kB / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4051, allocations: 0 / 1.047 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.4061, allocations: 0.6303 MB / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4061, allocations: 0 / 1.048 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.4062, allocations: 27.92 kB / 1.048 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4062, allocations: 4 kB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.4063, allocations: 4 kB / 1.048 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.4063, allocations: 8.094 kB / 1.048 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4063, allocations: 0 / 1.048 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.4068, allocations: 317.5 kB / 1.048 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4069, allocations: 124.6 kB / 1.048 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.407, allocations: 8 kB / 1.048 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.4072, allocations: 7.984 kB / 1.048 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.4073, allocations: 19.92 kB / 1.048 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.4073, allocations: 4 kB / 1.048 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000292/0.4076, allocations: 247.2 kB / 1.048 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4076, allocations: 0 / 1.048 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006729/0.4083, allocations: 195.6 kB / 1.049 GB, free: 10.53 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006509/0.4089, allocations: 247.4 kB / 1.049 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006045/0.4095, allocations: 195.8 kB / 1.049 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4096, allocations: 4 kB / 1.049 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.4098, allocations: 79.89 kB / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.4106, allocations: 150 kB / 1.049 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.4117, allocations: 0.5923 MB / 1.05 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.4122, allocations: 0.7879 MB / 1.051 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.288e-05/0.4123, allocations: 43.42 kB / 1.051 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.4123, allocations: 0 / 1.051 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of Templates: time 0.01079/0.4231, allocations: 5.756 MB / 1.056 GB, free: 2.68 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches