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.002003/0.002011, allocations: 108 kB / 15.61 MB, free: 152 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.00154/0.00154, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.545/1.545, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.875/2.875, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 55.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9526/0.9548, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01971/0.9746, allocations: 15.05 MB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007156/0.9818, allocations: 3.884 MB / 1.036 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008267/0.9827, allocations: 23.88 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.9836, allocations: 198.7 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.9858, allocations: 0.6764 MB / 1.037 GB, free: 14.73 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.9874, allocations: 470.3 kB / 1.037 GB, free: 14.28 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.9893, allocations: 1.078 MB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.9899, allocations: 277.5 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008595/0.9908, allocations: 402.5 kB / 1.039 GB, free: 12.52 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003713/0.9911, allocations: 262.8 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.9912, allocations: 23.94 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/0.9928, allocations: 0.7173 MB / 1.04 GB, free: 11.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.9929, allocations: 67.75 kB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.9932, allocations: 190.9 kB / 1.04 GB, free: 11.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.9944, allocations: 0.7128 MB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9944, allocations: 0 / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.017e-06/0.9944, allocations: 7.984 kB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.9944, allocations: 0 / 1.041 GB, free: 10.55 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.001283/0.9957, allocations: 0.7435 MB / 1.041 GB, free: 9.754 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.9958, allocations: 8.031 kB / 1.041 GB, free: 9.746 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.9959, allocations: 48.38 kB / 1.042 GB, free: 9.699 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009746/0.9969, allocations: 0.494 MB / 1.042 GB, free: 9.164 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.9969, allocations: 12.33 kB / 1.042 GB, free: 9.152 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.9969, allocations: 24 kB / 1.042 GB, free: 9.129 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.9973, allocations: 180.1 kB / 1.042 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.9974, allocations: 0 / 1.042 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.9974, allocations: 8 kB / 1.042 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.9974, allocations: 4 kB / 1.042 GB, free: 8.938 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.9978, allocations: 139.8 kB / 1.042 GB, free: 8.801 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.001295/0.9991, allocations: 0.8568 MB / 1.043 GB, free: 7.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.9994, allocations: 118.6 kB / 1.043 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.9996, allocations: 76.81 kB / 1.043 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/1, allocations: 332.4 kB / 1.044 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1, allocations: 34.56 kB / 1.044 GB, free: 7.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/1, allocations: 0 / 1.044 GB, free: 7.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0006269/1.001, allocations: 232.9 kB / 1.044 GB, free: 6.965 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.001, allocations: 51.41 kB / 1.044 GB, free: 6.902 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/1.001, allocations: 345.7 kB / 1.044 GB, free: 6.559 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.001, allocations: 29.7 kB / 1.044 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/1.001, allocations: 196.2 kB / 1.045 GB, free: 6.328 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/1.001, allocations: 43.38 kB / 1.045 GB, free: 6.285 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.081e-05/1.001, allocations: 33.7 kB / 1.045 GB, free: 6.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.002, allocations: 342.8 kB / 1.045 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/1.002, allocations: 52.81 kB / 1.045 GB, free: 5.848 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/1.002, allocations: 92.62 kB / 1.045 GB, free: 5.742 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/1.002, allocations: 129.5 kB / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.002, allocations: 0 / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000396/1.003, allocations: 173.2 kB / 1.045 GB, free: 5.434 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.003, allocations: 7.938 kB / 1.045 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.003, allocations: 8 kB / 1.045 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.003, allocations: 0 / 1.045 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/1.003, allocations: 23.98 kB / 1.045 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.003, allocations: 7.938 kB / 1.045 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/1.003, allocations: 23.88 kB / 1.045 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/1.003, allocations: 4 kB / 1.045 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002418/1.003, allocations: 156.1 kB / 1.046 GB, free: 5.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000167/1.004, allocations: 84.41 kB / 1.046 GB, free: 5.105 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000274/1.004, allocations: 121.6 kB / 1.046 GB, free: 4.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.272e-06/1.004, allocations: 0 / 1.046 GB, free: 4.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003929/1.004, allocations: 173.2 kB / 1.046 GB, free: 4.805 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/1.004, allocations: 4 kB / 1.046 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/1.004, allocations: 0 / 1.046 GB, free: 4.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/1.004, allocations: 3.938 kB / 1.046 GB, free: 4.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/1.005, allocations: 27.98 kB / 1.046 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/1.005, allocations: 0 / 1.046 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/1.005, allocations: 20.08 kB / 1.046 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/1.005, allocations: 11.98 kB / 1.046 GB, free: 4.738 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.0001324/1.005, allocations: 196.1 kB / 1.046 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/1.005, allocations: 35.56 kB / 1.046 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/1.005, allocations: 218.7 kB / 1.046 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/1.005, allocations: 3.938 kB / 1.046 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.005, allocations: 4 kB / 1.046 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.006, allocations: 0 / 1.046 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/1.006, allocations: 0.6334 MB / 1.047 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.006, allocations: 0 / 1.047 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/1.007, allocations: 23.98 kB / 1.047 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.007, allocations: 3.984 kB / 1.047 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.007, allocations: 4 kB / 1.047 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.007, allocations: 0 / 1.047 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.007, allocations: 7.938 kB / 1.047 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/1.007, allocations: 313.6 kB / 1.047 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/1.007, allocations: 128.6 kB / 1.048 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/1.007, allocations: 4 kB / 1.048 GB, free: 3.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/1.008, allocations: 15.89 kB / 1.048 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/1.008, allocations: 15.98 kB / 1.048 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/1.008, allocations: 16.14 kB / 1.048 GB, free: 3.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000261/1.008, allocations: 247.1 kB / 1.048 GB, free: 2.777 MB / 0.795 GB Notification: Performance of sort global known variables: time 3e-07/1.008, allocations: 0 / 1.048 GB, free: 2.777 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006578/1.009, allocations: 191.6 kB / 1.048 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 (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.0006195/1.009, allocations: 251 kB / 1.048 GB, free: 2.344 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006061/1.01, allocations: 191.8 kB / 1.048 GB, free: 2.156 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/1.01, allocations: 0 / 1.048 GB, free: 2.156 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/1.01, allocations: 80.27 kB / 1.048 GB, free: 2.078 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/1.011, allocations: 162.5 kB / 1.049 GB, free: 1.926 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/1.012, allocations: 0.5594 MB / 1.049 GB, free: 1.332 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/1.012, allocations: 0.7918 MB / 1.05 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002703/1.013, allocations: 82.83 kB / 1.05 GB, free: 448 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/1.013, allocations: 27.44 kB / 1.05 GB, free: 420 kB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/1.013, allocations: 0 / 1.05 GB, free: 420 kB / 0.795 GB Notification: Performance of Templates: time 0.01456/1.027, allocations: 6.573 MB / 1.056 GB, free: 9.941 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