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.001779/0.001779, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001926/0.001926, allocations: 197.2 kB / 16.14 MB, free: 6.016 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.967/2.967, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002096, allocations: 71.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.884, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02095/0.905, allocations: 15.02 MB / 1.031 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00723/0.9123, allocations: 3.92 MB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.913, allocations: 19.94 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000693/0.9137, allocations: 159 kB / 1.035 GB, free: 15.58 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.9156, allocations: 0.6106 MB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.9169, allocations: 427 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001862/0.9187, allocations: 1.362 MB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.9192, allocations: 237.1 kB / 1.038 GB, free: 12.95 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007189/0.9199, allocations: 378.3 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.9203, allocations: 270.7 kB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.9203, allocations: 12 kB / 1.038 GB, free: 12.3 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.9217, allocations: 0.6978 MB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.9218, allocations: 63.64 kB / 1.039 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.9221, allocations: 175.1 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.9232, allocations: 0.7049 MB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9232, allocations: 0 / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.12e-07/0.9232, allocations: 0 / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.9233, allocations: 4 kB / 1.04 GB, free: 10.66 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.001316/0.9246, allocations: 0.7552 MB / 1.041 GB, free: 9.855 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.9246, allocations: 8.031 kB / 1.041 GB, free: 9.848 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.9248, allocations: 40.47 kB / 1.041 GB, free: 9.809 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.9257, allocations: 0.4978 MB / 1.041 GB, free: 9.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.9258, allocations: 12.33 kB / 1.041 GB, free: 9.258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.9258, allocations: 16 kB / 1.041 GB, free: 9.242 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.9262, allocations: 180.2 kB / 1.042 GB, free: 9.062 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.9263, allocations: 4 kB / 1.042 GB, free: 9.059 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.9263, allocations: 4 kB / 1.042 GB, free: 9.055 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.9263, allocations: 4 kB / 1.042 GB, free: 9.051 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003692/0.9267, allocations: 147.8 kB / 1.042 GB, free: 8.906 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.00127/0.928, allocations: 0.8605 MB / 1.043 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.9282, allocations: 118.6 kB / 1.043 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.9284, allocations: 76.81 kB / 1.043 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.9289, allocations: 344.3 kB / 1.043 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.9289, allocations: 34.5 kB / 1.043 GB, free: 7.289 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.9289, allocations: 0 / 1.043 GB, free: 7.289 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.000609/0.9295, allocations: 213.2 kB / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.9296, allocations: 59.41 kB / 1.043 GB, free: 7.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.93, allocations: 341.7 kB / 1.044 GB, free: 6.664 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.9301, allocations: 33.7 kB / 1.044 GB, free: 6.625 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.9302, allocations: 192.3 kB / 1.044 GB, free: 6.434 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.9303, allocations: 39.39 kB / 1.044 GB, free: 6.395 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.9304, allocations: 37.7 kB / 1.044 GB, free: 6.352 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.9306, allocations: 346.7 kB / 1.044 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.9307, allocations: 52.83 kB / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.9309, allocations: 92.17 kB / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.9312, allocations: 109.7 kB / 1.045 GB, free: 5.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9312, allocations: 8 kB / 1.045 GB, free: 5.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004098/0.9317, allocations: 173.2 kB / 1.045 GB, free: 5.547 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.9317, allocations: 7.938 kB / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.9317, allocations: 0 / 1.045 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.9317, allocations: 3.938 kB / 1.045 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.9319, allocations: 27.97 kB / 1.045 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9319, allocations: 0 / 1.045 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.9321, allocations: 31.88 kB / 1.045 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.9322, allocations: 8.094 kB / 1.045 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002588/0.9324, allocations: 156 kB / 1.045 GB, free: 5.312 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001758/0.9326, allocations: 84.25 kB / 1.045 GB, free: 5.215 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000285/0.9329, allocations: 113.6 kB / 1.045 GB, free: 5.098 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.122e-06/0.9329, allocations: 7.984 kB / 1.045 GB, free: 5.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003834/0.9333, allocations: 165.3 kB / 1.045 GB, free: 4.922 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.9333, allocations: 6.188 kB / 1.045 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9334, allocations: 7.984 kB / 1.045 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.9334, allocations: 3.938 kB / 1.045 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.9335, allocations: 35.92 kB / 1.045 GB, free: 4.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.9335, allocations: 7.922 kB / 1.045 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.9337, allocations: 27.81 kB / 1.045 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.9337, allocations: 8 kB / 1.045 GB, free: 4.828 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.0001332/0.9339, allocations: 184.3 kB / 1.046 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.934, allocations: 39.56 kB / 1.046 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.9345, allocations: 227.3 kB / 1.046 GB, free: 4.371 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.9346, allocations: 3.938 kB / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9346, allocations: 0 / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.9346, allocations: 3.984 kB / 1.046 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.9357, allocations: 0.6334 MB / 1.046 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.9357, allocations: 0 / 1.046 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.9358, allocations: 28.05 kB / 1.046 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.9358, allocations: 4 kB / 1.046 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.9358, allocations: 4 kB / 1.046 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9358, allocations: 0 / 1.046 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9358, allocations: 0 / 1.046 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005326/0.9364, allocations: 321.6 kB / 1.047 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.9365, allocations: 128.6 kB / 1.047 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.9366, allocations: 11.92 kB / 1.047 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.9368, allocations: 23.98 kB / 1.047 GB, free: 3.109 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.9369, allocations: 7.984 kB / 1.047 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.9369, allocations: 11.98 kB / 1.047 GB, free: 3.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002985/0.9372, allocations: 247.2 kB / 1.047 GB, free: 2.852 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9372, allocations: 0 / 1.047 GB, free: 2.852 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006885/0.9379, allocations: 191.5 kB / 1.047 GB, free: 2.664 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.0006476/0.9386, allocations: 256.3 kB / 1.048 GB, free: 2.414 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.9391, allocations: 183.8 kB / 1.048 GB, free: 2.234 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9391, allocations: 8 kB / 1.048 GB, free: 2.227 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000203/0.9393, allocations: 79.89 kB / 1.048 GB, free: 2.148 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008839/0.9402, allocations: 139.3 kB / 1.048 GB, free: 2.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.9413, allocations: 0.6668 MB / 1.049 GB, free: 1.309 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.9418, allocations: 0.7921 MB / 1.049 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002646/0.9421, allocations: 79.25 kB / 1.05 GB, free: 428 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.9422, allocations: 27.44 kB / 1.05 GB, free: 404 kB / 0.795 GB Notification: Performance of SimCode: time 3.7e-07/0.9422, allocations: 0 / 1.05 GB, free: 404 kB / 0.795 GB Notification: Performance of Templates: time 0.01419/0.9564, allocations: 6.301 MB / 1.056 GB, free: 10.2 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=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/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