Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001254/0.00126, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001238/0.001238, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.62/2.62, allocations: 469.8 MB / 0.7427 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.5 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.308, allocations: 159.2 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01661/0.3247, allocations: 14.98 MB / 1.079 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5187/0.8434, allocations: 3.858 MB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.844, allocations: 16.59 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.8445, allocations: 158.6 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.8463, allocations: 0.6278 MB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.8477, allocations: 435 kB / 1.084 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.8491, allocations: 1.083 MB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.8496, allocations: 279.6 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.8503, allocations: 404.8 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.8506, allocations: 283 kB / 1.086 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.8507, allocations: 21.25 kB / 1.086 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.8519, allocations: 0.7139 MB / 1.086 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.132e-05/0.8521, allocations: 72.73 kB / 1.086 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.8522, allocations: 190.5 kB / 1.087 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.853, allocations: 0.5048 MB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.853, allocations: 1.125 kB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.205e-06/0.853, allocations: 0.6562 kB / 1.087 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.8531, allocations: 0 / 1.087 GB, free: 9.883 MB / 0.8419 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.00109/0.8542, allocations: 0.755 MB / 1.088 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.8542, allocations: 9.125 kB / 1.088 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.8543, allocations: 43.41 kB / 1.088 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.8552, allocations: 0.4893 MB / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.8552, allocations: 15.67 kB / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.8552, allocations: 16.03 kB / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.8557, allocations: 182.2 kB / 1.089 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.8557, allocations: 0.6094 kB / 1.089 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.8557, allocations: 12.19 kB / 1.089 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.8557, allocations: 3.031 kB / 1.089 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.8561, allocations: 135.4 kB / 1.089 GB, free: 8.992 MB / 0.8419 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.001141/0.8572, allocations: 0.864 MB / 1.09 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.8575, allocations: 115.3 kB / 1.09 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.8577, allocations: 76.36 kB / 1.09 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.858, allocations: 337.5 kB / 1.09 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.858, allocations: 31.77 kB / 1.09 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.858, allocations: 0 / 1.09 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0005898/0.8586, allocations: 220.5 kB / 1.09 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.8587, allocations: 58.3 kB / 1.09 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.8591, allocations: 347.2 kB / 1.091 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.8591, allocations: 28.48 kB / 1.091 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.8592, allocations: 197.2 kB / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.8592, allocations: 39.56 kB / 1.091 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.8593, allocations: 32.47 kB / 1.091 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.8594, allocations: 342.4 kB / 1.091 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.8596, allocations: 57.84 kB / 1.091 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.8597, allocations: 95.09 kB / 1.092 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.86, allocations: 113.8 kB / 1.092 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.86, allocations: 2.156 kB / 1.092 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004165/0.8605, allocations: 186.8 kB / 1.092 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.8605, allocations: 5.625 kB / 1.092 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8605, allocations: 3.938 kB / 1.092 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.8605, allocations: 3.328 kB / 1.092 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.8607, allocations: 27.16 kB / 1.092 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.8607, allocations: 1.438 kB / 1.092 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.8609, allocations: 28.05 kB / 1.092 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.8609, allocations: 9.016 kB / 1.092 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002055/0.8612, allocations: 153.5 kB / 1.092 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001481/0.8613, allocations: 85.92 kB / 1.092 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002403/0.8616, allocations: 116.8 kB / 1.092 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.8616, allocations: 0 / 1.092 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.000393/0.862, allocations: 169.4 kB / 1.092 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.862, allocations: 4.656 kB / 1.092 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.862, allocations: 1.188 kB / 1.092 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.862, allocations: 5.516 kB / 1.092 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.8621, allocations: 23 kB / 1.092 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.8621, allocations: 5.469 kB / 1.092 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.8623, allocations: 31.81 kB / 1.092 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.8624, allocations: 9.609 kB / 1.092 GB, free: 6.809 MB / 0.8419 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 7.349e-05/0.8624, allocations: 188.5 kB / 1.093 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.8625, allocations: 31.88 kB / 1.093 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.863, allocations: 232.8 kB / 1.093 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.863, allocations: 2.438 kB / 1.093 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.863, allocations: 0.75 kB / 1.093 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.863, allocations: 9.969 kB / 1.093 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.8639, allocations: 0.6397 MB / 1.094 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.8639, allocations: 1.062 kB / 1.094 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.864, allocations: 27.7 kB / 1.094 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.8641, allocations: 1.969 kB / 1.094 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.8641, allocations: 7 kB / 1.094 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.8641, allocations: 2.312 kB / 1.094 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.8641, allocations: 0.6562 kB / 1.094 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.8645, allocations: 315.1 kB / 1.094 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.8646, allocations: 130.1 kB / 1.094 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.8647, allocations: 6.812 kB / 1.094 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.8649, allocations: 27.81 kB / 1.094 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.865, allocations: 8.516 kB / 1.094 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.865, allocations: 5.984 kB / 1.094 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002948/0.8653, allocations: 250.3 kB / 1.094 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8653, allocations: 0 / 1.094 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007694/0.8661, allocations: 189.3 kB / 1.094 GB, free: 5.516 MB / 0.8419 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.0006019/0.8667, allocations: 254.7 kB / 1.095 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.8673, allocations: 195.8 kB / 1.095 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8673, allocations: 0.875 kB / 1.095 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.8675, allocations: 80.33 kB / 1.095 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008394/0.8683, allocations: 146 kB / 1.095 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.8693, allocations: 0.7025 MB / 1.096 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.8695, allocations: 0.7869 MB / 1.097 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.8696, allocations: 34.36 kB / 1.097 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/0.8696, allocations: 4 kB / 1.097 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of Templates: time 0.01139/0.881, allocations: 5.755 MB / 1.102 GB, free: 3.43 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_HydraulicDiameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches