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.001319/0.001319, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001504/0.001505, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 223.3 MB / 240 MB, free: 5.434 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.817/2.817, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004162, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9803/0.9807, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01973/1.001, allocations: 13.79 MB / 1.036 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00578/1.006, allocations: 3.614 MB / 1.039 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006497/1.007, allocations: 23.88 kB / 1.039 GB, free: 14.58 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/1.008, allocations: 131.1 kB / 1.04 GB, free: 14.45 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/1.01, allocations: 0.5598 MB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/1.011, allocations: 394.8 kB / 1.04 GB, free: 13.51 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001928/1.013, allocations: 1.202 MB / 1.042 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/1.014, allocations: 220.6 kB / 1.042 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/1.014, allocations: 350.4 kB / 1.042 GB, free: 11.74 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/1.015, allocations: 250.9 kB / 1.042 GB, free: 11.5 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/1.015, allocations: 15.94 kB / 1.042 GB, free: 11.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/1.016, allocations: 0.6315 MB / 1.043 GB, free: 10.85 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.693e-05/1.016, allocations: 55.69 kB / 1.043 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/1.016, allocations: 93.52 kB / 1.043 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/1.017, allocations: 490.9 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.017, allocations: 4 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.026e-06/1.017, allocations: 3.938 kB / 1.044 GB, free: 10.21 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.047e-06/1.017, allocations: 0 / 1.044 GB, free: 10.21 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.001131/1.018, allocations: 0.6889 MB / 1.044 GB, free: 9.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.018, allocations: 16.02 kB / 1.044 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.801e-05/1.018, allocations: 39.53 kB / 1.044 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/1.019, allocations: 481.2 kB / 1.045 GB, free: 8.898 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.019, allocations: 12.33 kB / 1.045 GB, free: 8.887 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.726e-05/1.019, allocations: 20 kB / 1.045 GB, free: 8.867 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/1.02, allocations: 196.1 kB / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.02, allocations: 0 / 1.045 GB, free: 8.672 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/1.02, allocations: 8 kB / 1.045 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.02, allocations: 4 kB / 1.045 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/1.02, allocations: 144.2 kB / 1.045 GB, free: 8.52 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.001202/1.021, allocations: 0.8645 MB / 1.046 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/1.022, allocations: 122.6 kB / 1.046 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/1.022, allocations: 88.75 kB / 1.046 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/1.022, allocations: 336.4 kB / 1.047 GB, free: 6.934 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.022, allocations: 30.56 kB / 1.047 GB, free: 6.895 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/1.022, allocations: 0 / 1.047 GB, free: 6.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006283/1.023, allocations: 237.1 kB / 1.047 GB, free: 6.656 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/1.023, allocations: 51.41 kB / 1.047 GB, free: 6.594 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/1.023, allocations: 345.7 kB / 1.047 GB, free: 6.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/1.023, allocations: 29.7 kB / 1.047 GB, free: 6.215 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/1.024, allocations: 196.2 kB / 1.047 GB, free: 6.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/1.024, allocations: 39.39 kB / 1.047 GB, free: 5.98 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/1.024, allocations: 4 kB / 1.047 GB, free: 5.977 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.024, allocations: 346.8 kB / 1.048 GB, free: 5.629 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/1.024, allocations: 47.95 kB / 1.048 GB, free: 5.582 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/1.024, allocations: 96.25 kB / 1.048 GB, free: 5.473 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/1.024, allocations: 55.91 kB / 1.048 GB, free: 5.418 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.024, allocations: 0 / 1.048 GB, free: 5.418 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003588/1.025, allocations: 193 kB / 1.048 GB, free: 5.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.343e-05/1.025, allocations: 98.98 kB / 1.048 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.025, allocations: 3.984 kB / 1.048 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.025, allocations: 4 kB / 1.048 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/1.025, allocations: 23.98 kB / 1.048 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/1.025, allocations: 7.984 kB / 1.048 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/1.025, allocations: 31.91 kB / 1.048 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/1.025, allocations: 7.953 kB / 1.048 GB, free: 5.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.639e-06/1.025, allocations: 7.938 kB / 1.048 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002798/1.025, allocations: 127.9 kB / 1.048 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-06/1.025, allocations: 0 / 1.048 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-06/1.025, allocations: 0 / 1.048 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.026, allocations: 27.98 kB / 1.049 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/1.026, allocations: 0 / 1.049 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.026, allocations: 39.81 kB / 1.049 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/1.026, allocations: 4 kB / 1.049 GB, free: 4.836 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/1.026, allocations: 221 kB / 1.049 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/1.026, allocations: 35.58 kB / 1.049 GB, free: 4.574 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/1.027, allocations: 237.2 kB / 1.049 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.027, allocations: 0 / 1.049 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.027, allocations: 3.984 kB / 1.049 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.027, allocations: 4 kB / 1.049 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/1.028, allocations: 0.6489 MB / 1.05 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.028, allocations: 0 / 1.05 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.028, allocations: 28.08 kB / 1.05 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/1.028, allocations: 4 kB / 1.05 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.028, allocations: 8 kB / 1.05 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/1.028, allocations: 0 / 1.05 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.028, allocations: 3.938 kB / 1.05 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/1.028, allocations: 333.5 kB / 1.05 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.028, allocations: 128.8 kB / 1.05 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/1.028, allocations: 0 / 1.05 GB, free: 3.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/1.028, allocations: 39.97 kB / 1.05 GB, free: 3.031 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/1.029, allocations: 7.984 kB / 1.05 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.029, allocations: 8 kB / 1.05 GB, free: 3.016 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002367/1.029, allocations: 251.1 kB / 1.05 GB, free: 2.773 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 0 / 1.05 GB, free: 2.773 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006222/1.029, allocations: 187.6 kB / 1.051 GB, free: 2.59 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 (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.0005653/1.03, allocations: 244.4 kB / 1.051 GB, free: 2.352 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004764/1.031, allocations: 203.7 kB / 1.051 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.031, allocations: 0 / 1.051 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.031, allocations: 79.89 kB / 1.051 GB, free: 2.074 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000789/1.031, allocations: 155.5 kB / 1.051 GB, free: 1.922 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009624/1.032, allocations: 0.687 MB / 1.052 GB, free: 1.195 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/1.033, allocations: 0.7921 MB / 1.053 GB, free: 388 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002375/1.033, allocations: 78.84 kB / 1.053 GB, free: 312 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/1.033, allocations: 31.42 kB / 1.053 GB, free: 284 kB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/1.033, allocations: 0 / 1.053 GB, free: 284 kB / 0.795 GB Notification: Performance of Templates: time 0.01248/1.046, allocations: 6.097 MB / 1.059 GB, free: 10.29 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches