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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001121/0.001121, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437 MB / 0.7106 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.89 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6771, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01706/0.6942, allocations: 15.01 MB / 1.032 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005964/0.7002, allocations: 3.925 MB / 1.036 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007285/0.701, allocations: 19.88 kB / 1.036 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007769/0.7019, allocations: 159 kB / 1.036 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.7039, allocations: 0.6184 MB / 1.037 GB, free: 15.01 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.7053, allocations: 419.2 kB / 1.037 GB, free: 14.6 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002002/0.7073, allocations: 1.369 MB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.7078, allocations: 237.2 kB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000828/0.7087, allocations: 370.3 kB / 1.039 GB, free: 12.63 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004972/0.7092, allocations: 270.7 kB / 1.039 GB, free: 12.37 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.7093, allocations: 16 kB / 1.039 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.7107, allocations: 0.6977 MB / 1.04 GB, free: 11.65 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.7108, allocations: 63.75 kB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.7111, allocations: 179 kB / 1.04 GB, free: 11.41 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009851/0.7121, allocations: 0.4989 MB / 1.041 GB, free: 10.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7122, allocations: 0 / 1.041 GB, free: 10.91 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7122, allocations: 0 / 1.041 GB, free: 10.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.7122, allocations: 0 / 1.041 GB, free: 10.91 MB / 0.795 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.001307/0.7135, allocations: 0.7513 MB / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.7135, allocations: 11.97 kB / 1.041 GB, free: 10.1 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.7137, allocations: 44.47 kB / 1.041 GB, free: 10.06 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.7147, allocations: 497.8 kB / 1.042 GB, free: 9.531 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.7147, allocations: 16.33 kB / 1.042 GB, free: 9.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.7148, allocations: 16 kB / 1.042 GB, free: 9.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.7152, allocations: 180.1 kB / 1.042 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7152, allocations: 0 / 1.042 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.7152, allocations: 12 kB / 1.042 GB, free: 9.309 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.7153, allocations: 4 kB / 1.042 GB, free: 9.305 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.7156, allocations: 139.8 kB / 1.042 GB, free: 9.168 MB / 0.795 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.001277/0.7169, allocations: 0.8644 MB / 1.043 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.7172, allocations: 118.6 kB / 1.043 GB, free: 8.078 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.7174, allocations: 72.81 kB / 1.043 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003676/0.7177, allocations: 336.4 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.7178, allocations: 38.56 kB / 1.044 GB, free: 7.555 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.7178, allocations: 4 kB / 1.044 GB, free: 7.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006055/0.7184, allocations: 221 kB / 1.044 GB, free: 7.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.7184, allocations: 55.41 kB / 1.044 GB, free: 7.262 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.7188, allocations: 345.7 kB / 1.044 GB, free: 6.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.7189, allocations: 33.7 kB / 1.044 GB, free: 6.879 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.719, allocations: 188.3 kB / 1.044 GB, free: 6.691 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.7191, allocations: 43.39 kB / 1.044 GB, free: 6.648 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.7192, allocations: 33.7 kB / 1.044 GB, free: 6.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7193, allocations: 350.7 kB / 1.045 GB, free: 6.258 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.7195, allocations: 48.83 kB / 1.045 GB, free: 6.207 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.7196, allocations: 88.25 kB / 1.045 GB, free: 6.105 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.7199, allocations: 121.6 kB / 1.045 GB, free: 5.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.7199, allocations: 0 / 1.045 GB, free: 5.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003863/0.7203, allocations: 169.2 kB / 1.045 GB, free: 5.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7203, allocations: 11.94 kB / 1.045 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.7204, allocations: 3.938 kB / 1.045 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7204, allocations: 4 kB / 1.045 GB, free: 5.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.7205, allocations: 27.92 kB / 1.045 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.7205, allocations: 7.984 kB / 1.045 GB, free: 5.754 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.7208, allocations: 19.89 kB / 1.045 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.7208, allocations: 11.98 kB / 1.045 GB, free: 5.723 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002195/0.7211, allocations: 156.1 kB / 1.045 GB, free: 5.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001507/0.7212, allocations: 84.25 kB / 1.045 GB, free: 5.469 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002444/0.7215, allocations: 113.6 kB / 1.046 GB, free: 5.352 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.7215, allocations: 4.094 kB / 1.046 GB, free: 5.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003457/0.7218, allocations: 169.1 kB / 1.046 GB, free: 5.176 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/0.7218, allocations: 8 kB / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.7219, allocations: 0 / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/0.7219, allocations: 7.922 kB / 1.046 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.722, allocations: 23.98 kB / 1.046 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.722, allocations: 0 / 1.046 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.7222, allocations: 35.81 kB / 1.046 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.7222, allocations: 4 kB / 1.046 GB, free: 5.098 MB / 0.795 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.0001068/0.7223, allocations: 188.2 kB / 1.046 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.7224, allocations: 39.56 kB / 1.046 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004823/0.7229, allocations: 229.4 kB / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.7229, allocations: 96 / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7229, allocations: 0 / 1.046 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7229, allocations: 7.984 kB / 1.046 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.7238, allocations: 0.6372 MB / 1.047 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.7239, allocations: 4.094 kB / 1.047 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.724, allocations: 27.97 kB / 1.047 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.724, allocations: 0 / 1.047 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.724, allocations: 12.12 kB / 1.047 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.724, allocations: 3.938 kB / 1.047 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.724, allocations: 4 kB / 1.047 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.7245, allocations: 309.6 kB / 1.047 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.7246, allocations: 132.5 kB / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.7247, allocations: 0 / 1.047 GB, free: 3.395 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.7249, allocations: 23.97 kB / 1.047 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.7249, allocations: 19.92 kB / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.725, allocations: 4 kB / 1.047 GB, free: 3.348 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000251/0.7252, allocations: 247.2 kB / 1.048 GB, free: 3.109 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7252, allocations: 0 / 1.048 GB, free: 3.109 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005956/0.7258, allocations: 195.5 kB / 1.048 GB, free: 2.918 MB / 0.795 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.0006094/0.7264, allocations: 260.6 kB / 1.048 GB, free: 2.664 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.727, allocations: 183.8 kB / 1.048 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.727, allocations: 0 / 1.048 GB, free: 2.484 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.7272, allocations: 79.83 kB / 1.048 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.728, allocations: 141.9 kB / 1.048 GB, free: 2.266 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009811/0.729, allocations: 0.6957 MB / 1.049 GB, free: 1.531 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.7294, allocations: 0.7921 MB / 1.05 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.7294, allocations: 31.44 kB / 1.05 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.7295, allocations: 0 / 1.05 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of Templates: time 0.009315/0.7388, allocations: 5.75 MB / 1.056 GB, free: 11 MB / 0.8106 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=480 -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