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.001789/0.001789, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001856/0.001856, allocations: 189.4 kB / 16.25 MB, free: 6.152 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.652/2.652, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9453/0.9466, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01743/0.9641, allocations: 14.99 MB / 1.031 GB, free: 3.684 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006254/0.9704, allocations: 3.869 MB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007476/0.9712, allocations: 19.88 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.972, allocations: 151.1 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.9738, allocations: 0.6413 MB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.9752, allocations: 423 kB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.9767, allocations: 1.081 MB / 1.037 GB, free: 13.5 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.9772, allocations: 281.5 kB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.9779, allocations: 410.3 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.9782, allocations: 274.8 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.153e-05/0.9783, allocations: 20 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.9795, allocations: 0.7173 MB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.9796, allocations: 83.67 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.9798, allocations: 183 kB / 1.039 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000984/0.9808, allocations: 0.7167 MB / 1.04 GB, free: 10.83 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9808, allocations: 0 / 1.04 GB, free: 10.83 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9808, allocations: 0 / 1.04 GB, free: 10.83 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.9808, allocations: 3.938 kB / 1.04 GB, free: 10.82 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.001237/0.9821, allocations: 0.7397 MB / 1.041 GB, free: 10.04 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9821, allocations: 12.02 kB / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.631e-05/0.9822, allocations: 48.38 kB / 1.041 GB, free: 9.977 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.9832, allocations: 0.4939 MB / 1.041 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.9832, allocations: 16.33 kB / 1.041 GB, free: 9.426 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.9832, allocations: 20 kB / 1.041 GB, free: 9.406 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.9836, allocations: 172.2 kB / 1.042 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.9837, allocations: 0 / 1.042 GB, free: 9.234 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.9837, allocations: 8 kB / 1.042 GB, free: 9.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.9837, allocations: 4 kB / 1.042 GB, free: 9.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.984, allocations: 143.8 kB / 1.042 GB, free: 9.082 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.001211/0.9853, allocations: 0.8607 MB / 1.042 GB, free: 8.121 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.9855, allocations: 118.6 kB / 1.043 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.9857, allocations: 72.81 kB / 1.043 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/0.9861, allocations: 336.4 kB / 1.043 GB, free: 7.52 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.9862, allocations: 42.5 kB / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.9862, allocations: 0 / 1.043 GB, free: 7.469 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006155/0.9868, allocations: 221 kB / 1.043 GB, free: 7.246 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.9869, allocations: 51.41 kB / 1.043 GB, free: 7.184 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.9872, allocations: 349.6 kB / 1.044 GB, free: 6.836 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.9872, allocations: 29.7 kB / 1.044 GB, free: 6.801 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.9874, allocations: 192.3 kB / 1.044 GB, free: 6.609 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.9875, allocations: 43.39 kB / 1.044 GB, free: 6.566 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-05/0.9875, allocations: 33.7 kB / 1.044 GB, free: 6.527 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9877, allocations: 342.8 kB / 1.044 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.9878, allocations: 52.75 kB / 1.044 GB, free: 6.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.9881, allocations: 92.25 kB / 1.044 GB, free: 6.023 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.9883, allocations: 117.6 kB / 1.044 GB, free: 5.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9883, allocations: 0 / 1.044 GB, free: 5.902 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003729/0.9887, allocations: 177.1 kB / 1.045 GB, free: 5.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.9888, allocations: 7.938 kB / 1.045 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.9888, allocations: 0 / 1.045 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9888, allocations: 8 kB / 1.045 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.9889, allocations: 23.98 kB / 1.045 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9889, allocations: 0 / 1.045 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.9892, allocations: 27.88 kB / 1.045 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.9892, allocations: 4 kB / 1.045 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002237/0.9894, allocations: 160.1 kB / 1.045 GB, free: 5.492 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000161/0.9896, allocations: 92.91 kB / 1.045 GB, free: 5.387 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002431/0.9899, allocations: 113.7 kB / 1.045 GB, free: 5.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.9899, allocations: 0 / 1.045 GB, free: 5.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003508/0.9902, allocations: 173.2 kB / 1.045 GB, free: 5.094 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.9902, allocations: 9.406 kB / 1.045 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.9903, allocations: 0 / 1.045 GB, free: 5.086 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.9903, allocations: 7.875 kB / 1.045 GB, free: 5.078 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.9904, allocations: 23.98 kB / 1.045 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.9904, allocations: 7.969 kB / 1.045 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.9906, allocations: 35.83 kB / 1.045 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.9906, allocations: 7.984 kB / 1.045 GB, free: 5.004 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.0001254/0.9908, allocations: 192.2 kB / 1.046 GB, free: 4.809 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.9908, allocations: 35.56 kB / 1.046 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005094/0.9913, allocations: 221 kB / 1.046 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.9914, allocations: 4 kB / 1.046 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.9914, allocations: 7.938 kB / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.9914, allocations: 0 / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.9923, allocations: 0.6303 MB / 1.046 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.9923, allocations: 0 / 1.046 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.9924, allocations: 23.98 kB / 1.046 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.9924, allocations: 4.094 kB / 1.046 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.9925, allocations: 11.98 kB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.9925, allocations: 0 / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9925, allocations: 4 kB / 1.046 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.9929, allocations: 321.5 kB / 1.047 GB, free: 3.461 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.9931, allocations: 128.5 kB / 1.047 GB, free: 3.316 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.9932, allocations: 4 kB / 1.047 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.9934, allocations: 19.97 kB / 1.047 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.9934, allocations: 15.98 kB / 1.047 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.9935, allocations: 8 kB / 1.047 GB, free: 3.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002589/0.9937, allocations: 247.2 kB / 1.047 GB, free: 3.031 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9937, allocations: 0 / 1.047 GB, free: 3.031 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006296/0.9944, allocations: 191.5 kB / 1.047 GB, free: 2.844 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.0005756/0.995, allocations: 245.9 kB / 1.048 GB, free: 2.602 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.9955, allocations: 199.7 kB / 1.048 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9955, allocations: 4 kB / 1.048 GB, free: 2.402 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.9957, allocations: 79.89 kB / 1.048 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.9966, allocations: 160.8 kB / 1.048 GB, free: 2.176 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.9976, allocations: 0.6656 MB / 1.049 GB, free: 1.477 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.998, allocations: 0.7918 MB / 1.049 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000279/0.9983, allocations: 74.84 kB / 1.049 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.9984, allocations: 35.44 kB / 1.05 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.9984, allocations: 0 / 1.05 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of Templates: time 0.01321/1.012, allocations: 6.488 MB / 1.056 GB, free: 10.18 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